Shapes

@Immutable
data class Shapes(val shape: Shape = RectangleShape, val focusedShape: Shape = shape, val hoveredShape: Shape = focusedShape, val pressedShape: Shape = focusedShape, val selectedShape: Shape = shape, val disabledShape: Shape = shape, val focusedSelectedShape: Shape = focusedShape, val pressedSelectedShape: Shape = pressedShape, val hoveredSelectedShape: Shape = hoveredShape, val focusedDisabledShape: Shape = disabledShape, val pressedDisabledShape: Shape = disabledShape, val hoveredDisabledShape: Shape = disabledShape)

Constructors

Link copied to clipboard
constructor(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)

Properties

Link copied to clipboard
val disabledShape: Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val focusedShape: Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val hoveredShape: Shape
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val pressedShape: Shape
Link copied to clipboard
val selectedShape: Shape
Link copied to clipboard
val shape: Shape

Functions

Link copied to clipboard
@Stable
fun shapeFor(enabled: Boolean, focused: Boolean, hovered: Boolean, pressed: Boolean, selected: Boolean): Shape