androidx.compose.ui.graphics

Generic

Class · from org.jetbrains.compose.ui:ui-graphics:1.12.2

No hand-written docs yet.

An area defined as a path.

class Generic(
    path: Path,
) : Outline

Is a

How to get one

Create it

Properties

path

val path: Path
Library docs

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 Path.isConvex.