# Outline.Generic

Artifact: [androidx.compose.ui:ui-graphics](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/Outline.kt+class:androidx.compose.ui.graphics.Outline.Generic) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  class Outline.Generic : Outline
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.compose.ui.graphics.Outline](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline) ||
|   | ↳ | [androidx.compose.ui.graphics.Outline.Generic](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline.Generic) |

*** ** * ** ***

An area defined as a path.

Note that if you use this path for drawing the shadow on Android versions less than 10 the shadow will not be drawn for the concave paths. See `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path#isConvex()`.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline.Generic#Generic(androidx.compose.ui.graphics.Path)(path: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path)` | Cmn |

| ### Public properties |
|---|---|---|
| `open https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Rect` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline.Generic#bounds()` Return the bounds of the outline | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Path` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline.Generic#path()` | Cmn |

## Public constructors

### Generic

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
Generic(path: Path)
```

## Public properties

### bounds

Cmn

```
open val bounds: Rect
```

Return the bounds of the outline

### path

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val path: Path
```