androidx.compose.ui.graphics

Outline

Sealed class · from org.jetbrains.compose.ui:ui-graphics:1.12.2

No hand-written docs yet.

Defines a simple shape, used for bounding graphical regions.

sealed class Outline

Kinds of Outline

Anywhere a Outline is expected, you can pass any of these.

How to get one

Ready-made values and functions that return it

Properties

bounds

val bounds: Rect

Return the bounds of the outline

Nested types

Library docs

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.