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.

Source set: Common
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

Note that each RoundedPolygon in this class is normalized.

Companion Object

Properties

Source set: Common
val Circle

A circle shape.

Source set: Common
val Square

A rounded square shape.

Source set: Common
val Slanted

A slanted square shape.

Source set: Common
val Arch

An arch shape.

Source set: Common
val Fan

A fan shape.

Source set: Common
val Arrow

An arrow shape.

Source set: Common
val SemiCircle

A semi-circle shape.

Source set: Common
val Oval

An oval shape.

Source set: Common
val Pill

A pill shape.

Source set: Common
val Triangle

A rounded triangle shape.

Source set: Common
val Diamond

A diamond shape.

Source set: Common
val ClamShell

A clam-shell shape.

Source set: Common
val Pentagon

A pentagon shape.

Source set: Common
val Gem

A gem shape.

Source set: Common
val Sunny

A sunny shape.

Source set: Common
val VerySunny

A very-sunny shape.

Source set: Common
val Cookie4Sided

A 4-sided cookie shape.

Source set: Common
val Cookie6Sided

A 6-sided cookie shape.

Source set: Common
val Cookie7Sided

A 7-sided cookie shape.

Source set: Common
val Cookie9Sided

A 9-sided cookie shape.

Source set: Common
val Cookie12Sided

A 12-sided cookie shape.

Source set: Common
val Ghostish

A ghost-ish shape.

Source set: Common
val Clover4Leaf

A 4-leaf clover shape.

Source set: Common
val Clover8Leaf

An 8-leaf clover shape.

Source set: Common
val Burst

A burst shape.

Source set: Common
val SoftBurst

A soft-burst shape.

Source set: Common
val Boom

A boom shape.

Source set: Common
val SoftBoom

A soft-boom shape.

Source set: Common
val Flower

A flower shape.

Source set: Common
val Puffy

A puffy shape.

Source set: Common
val PuffyDiamond

A puffy-diamond shape.

Source set: Common
val PixelCircle

A pixel-circle shape.

Source set: Common
val PixelTriangle

A pixel-triangle shape.

Source set: Common
val Bun

A bun shape.

Source set: Common
val Heart

A heart shape.

Last updated: