Class

Outline.Generic

An area defined as a path.

Common
class Generic(val path: Path) : Outline()

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.