MaterialShapes

Class

Common
@ExperimentalMaterial3ExpressiveApi
sealed class MaterialShapes

Holds predefined Material Design shapes as RoundedPolygons 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

Common
val Circle

A circle shape.

Common
val Square

A rounded square shape.

Common
val Slanted

A slanted square shape.

Common
val Arch

An arch shape.

Common
val Fan

A fan shape.

Common
val Arrow

An arrow shape.

Common
val SemiCircle

A semi-circle shape.

Common
val Oval

An oval shape.

Common
val Pill

A pill shape.

Common
val Triangle

A rounded triangle shape.

Common
val Diamond

A diamond shape.

Common
val ClamShell

A clam-shell shape.

Common
val Pentagon

A pentagon shape.

Common
val Gem

A gem shape.

Common
val Sunny

A sunny shape.

Common
val VerySunny

A very-sunny shape.

Common
val Cookie4Sided

A 4-sided cookie shape.

Common
val Cookie6Sided

A 6-sided cookie shape.

Common
val Cookie7Sided

A 7-sided cookie shape.

Common
val Cookie9Sided

A 9-sided cookie shape.

Common
val Cookie12Sided

A 12-sided cookie shape.

Common
val Ghostish

A ghost-ish shape.

Common
val Clover4Leaf

A 4-leaf clover shape.

Common
val Clover8Leaf

An 8-leaf clover shape.

Common
val Burst

A burst shape.

Common
val SoftBurst

A soft-burst shape.

Common
val Boom

A boom shape.

Common
val SoftBoom

A soft-boom shape.

Common
val Flower

A flower shape.

Common
val Puffy

A puffy shape.

Common
val PuffyDiamond

A puffy-diamond shape.

Common
val PixelCircle

A pixel-circle shape.

Common
val PixelTriangle

A pixel-triangle shape.

Common
val Bun

A bun shape.

Common
val Heart

A heart shape.