Shapes

constructor(extraSmall: CornerBasedShape = ShapeDefaults.ExtraSmall, small: CornerBasedShape = ShapeDefaults.Small, medium: CornerBasedShape = ShapeDefaults.Medium, large: CornerBasedShape = ShapeDefaults.Large, extraLarge: CornerBasedShape = ShapeDefaults.ExtraLarge)

Parameters

extraSmall

A shape style with 4 same-sized corners whose size are bigger than RectangleShape and smaller than Shapes.small. By default autocomplete menu, select menu, snackbars, standard menu, and text fields use this shape.

small

A shape style with 4 same-sized corners whose size are bigger than Shapes.extraSmall and smaller than Shapes.medium. By default chips use this shape.

medium

A shape style with 4 same-sized corners whose size are bigger than Shapes.small and smaller than Shapes.large. By default cards and small FABs use this shape.

large

A shape style with 4 same-sized corners whose size are bigger than Shapes.medium and smaller than Shapes.extraLarge. By default extended FABs, FABs, and navigation drawers use this shape.

extraLarge

A shape style with 4 same-sized corners whose size are bigger than Shapes.large and smaller than CircleShape. By default large FABs use this shape.