The second Android 11 Developer Preview is now available, test it out and share your feedback.

Generic

data class Generic : Outline
kotlin.Any
   ↳ androidx.ui.graphics.Outline
   ↳ androidx.ui.graphics.Outline.Generic

An area defined as a path.

Note that only convex paths can be used for drawing the shadow. See Path.isConvex.

Summary

Public constructors

<init>(path: Path)

An area defined as a path.

Properties

Path

Public constructors

<init>

Generic(path: Path)

An area defined as a path.

Note that only convex paths can be used for drawing the shadow. See Path.isConvex.

Properties

path

val path: Path