Shape Appearance
data class ShapeAppearance(val family: CornerFamily, val topLeft: Double, val topRight: Double, val bottomRight: Double, val bottomLeft: Double)
A platform-agnostic shape appearance specification declaring corner family and corner sizes. These are compiled to standard Android shapes and Apple corner radii.
See also
Constructors
Link copied to clipboard
constructor(family: CornerFamily, topLeft: Double, topRight: Double, bottomRight: Double, bottomLeft: Double)
Constructs a symmetric ShapeAppearance applying the same size to all four corners.
Functions
Link copied to clipboard
Converts this ShapeAppearance into a Compose CornerBasedShape.