🌈 Create new beautiful Compose Gradients with our new wesite ->
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
public 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.

Members

Companion

Source set: Common
public companion object

Properties

Circle

Source set: Common
public val Circle: RoundedPolygon

A circle shape.

Square

Source set: Common
public val Square: RoundedPolygon

A rounded square shape.

Slanted

Source set: Common
public val Slanted: RoundedPolygon

A slanted square shape.

Arch

Source set: Common
public val Arch: RoundedPolygon

An arch shape.

Fan

Source set: Common
public val Fan: RoundedPolygon

A fan shape.

Arrow

Source set: Common
public val Arrow: RoundedPolygon

An arrow shape.

SemiCircle

Source set: Common
public val SemiCircle: RoundedPolygon

A semi-circle shape.

Oval

Source set: Common
public val Oval: RoundedPolygon

An oval shape.

Pill

Source set: Common
public val Pill: RoundedPolygon

A pill shape.

Triangle

Source set: Common
public val Triangle: RoundedPolygon

A rounded triangle shape.

Diamond

Source set: Common
public val Diamond: RoundedPolygon

A diamond shape.

ClamShell

Source set: Common
public val ClamShell: RoundedPolygon

A clam-shell shape.

Pentagon

Source set: Common
public val Pentagon: RoundedPolygon

A pentagon shape.

Gem

Source set: Common
public val Gem: RoundedPolygon

A gem shape.

Sunny

Source set: Common
public val Sunny: RoundedPolygon

A sunny shape.

VerySunny

Source set: Common
public val VerySunny: RoundedPolygon

A very-sunny shape.

Cookie4Sided

Source set: Common
public val Cookie4Sided: RoundedPolygon

A 4-sided cookie shape.

Cookie6Sided

Source set: Common
public val Cookie6Sided: RoundedPolygon

A 6-sided cookie shape.

Cookie7Sided

Source set: Common
public val Cookie7Sided: RoundedPolygon

A 7-sided cookie shape.

Cookie9Sided

Source set: Common
public val Cookie9Sided: RoundedPolygon

A 9-sided cookie shape.

Cookie12Sided

Source set: Common
public val Cookie12Sided: RoundedPolygon

A 12-sided cookie shape.

Ghostish

Source set: Common
public val Ghostish: RoundedPolygon

A ghost-ish shape.

Clover4Leaf

Source set: Common
public val Clover4Leaf: RoundedPolygon

A 4-leaf clover shape.

Clover8Leaf

Source set: Common
public val Clover8Leaf: RoundedPolygon

An 8-leaf clover shape.

Burst

Source set: Common
public val Burst: RoundedPolygon

A burst shape.

SoftBurst

Source set: Common
public val SoftBurst: RoundedPolygon

A soft-burst shape.

Boom

Source set: Common
public val Boom: RoundedPolygon

A boom shape.

SoftBoom

Source set: Common
public val SoftBoom: RoundedPolygon

A soft-boom shape.

Flower

Source set: Common
public val Flower: RoundedPolygon

A flower shape.

Puffy

Source set: Common
public val Puffy: RoundedPolygon

A puffy shape.

PuffyDiamond

Source set: Common
public val PuffyDiamond: RoundedPolygon

A puffy-diamond shape.

PixelCircle

Source set: Common
public val PixelCircle: RoundedPolygon

A pixel-circle shape.

PixelTriangle

Source set: Common
public val PixelTriangle: RoundedPolygon

A pixel-triangle shape.

Bun

Source set: Common
public val Bun: RoundedPolygon

A bun shape.

Heart

Source set: Common
public val Heart: RoundedPolygon

A heart shape.

Content updated: