---
title: "Outline"
description: "Defines a simple shape, used for bounding graphical regions.

Can be used for defining a shape of the component background, a shape of shadows cast by the
component, or to clip the contents."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
sealed class Outline
```


Defines a simple shape, used for bounding graphical regions.

Can be used for defining a shape of the component background, a shape of shadows cast by the
component, or to clip the contents.


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
abstract val bounds: Rect
```


Return the bounds of the outline




