Class

Outline.Generic

An area defined as a path.

Source set: Common
public class Generic(public 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.

Properties

bounds

Source set: Common
override val bounds: Rect
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: