MaterialShapes
@ExperimentalMaterial3ExpressiveApi
sealed class MaterialShapes
Holds predefined Material Design shapes as RoundedPolygon
s that can be used at various
components as they are, or as part of a Morph
.
!Shapes image
(https://developer.android.com/images/reference/androidx/compose/material3/shapes.png)
Note that each RoundedPolygon
in this class is normalized.
Companion Object
Properties
val Circle
A circle shape.
val Square
A rounded square shape.
val Slanted
A slanted square shape.
val Arch
An arch shape.
val Fan
A fan shape.
val Arrow
An arrow shape.
val SemiCircle
A semi-circle shape.
val Oval
An oval shape.
val Pill
A pill shape.
val Triangle
A rounded triangle shape.
val Diamond
A diamond shape.
val ClamShell
A clam-shell shape.
val Pentagon
A pentagon shape.
val Gem
A gem shape.
val Sunny
A sunny shape.
val VerySunny
A very-sunny shape.
val Cookie4Sided
A 4-sided cookie shape.
val Cookie6Sided
A 6-sided cookie shape.
val Cookie7Sided
A 7-sided cookie shape.
val Cookie9Sided
A 9-sided cookie shape.
val Cookie12Sided
A 12-sided cookie shape.
val Ghostish
A ghost-ish shape.
val Clover4Leaf
A 4-leaf clover shape.
val Clover8Leaf
An 8-leaf clover shape.
val Burst
A burst shape.
val SoftBurst
A soft-burst shape.
val Boom
A boom shape.
val SoftBoom
A soft-boom shape.
val Flower
A flower shape.
val Puffy
A puffy shape.
val PuffyDiamond
A puffy-diamond shape.
val PixelCircle
A pixel-circle shape.
val PixelTriangle
A pixel-triangle shape.
val Bun
A bun shape.
val Heart
A heart shape.