shapes

@Stable
fun shapes(shape: Shape = RectangleShape, focusedShape: Shape = shape, hoveredShape: Shape = focusedShape, pressedShape: Shape = focusedShape, selectedShape: Shape = shape, disabledShape: Shape = shape, focusedSelectedShape: Shape = focusedShape, pressedSelectedShape: Shape = pressedShape, hoveredSelectedShape: Shape = hoveredShape, focusedDisabledShape: Shape = disabledShape, pressedDisabledShape: Shape = disabledShape, hoveredDisabledShape: Shape = disabledShape): Shapes

Creates a Shapes instance with configurable shapes for different interaction states.

Parameters

shape

The default shape.

focusedShape

The shape when the element is focused.

hoveredShape

The shape when the element is hovered.

pressedShape

The shape when the element is pressed.

selectedShape

The shape when the element is selected.

disabledShape

The shape when the element is disabled.

focusedSelectedShape

The shape when the element is both focused and selected.

pressedSelectedShape

The shape when the element is both pressed and selected.

hoveredSelectedShape

The shape when the element is both hovered and selected.

focusedDisabledShape

The shape when the element is both focused and disabled.

pressedDisabledShape

The shape when the element is both pressed and disabled.

hoveredDisabledShape

The shape when the element is both hovered and disabled.