scale

@Stable
fun scale(scale: Float = 1.0f, focusedScale: Float = scale, hoveredScale: Float = focusedScale, pressedScale: Float = focusedScale, selectedScale: Float = scale, disabledScale: Float = scale, focusedSelectedScale: Float = focusedScale, pressedSelectedScale: Float = pressedScale, hoveredSelectedScale: Float = hoveredScale, focusedDisabledScale: Float = disabledScale, pressedDisabledScale: Float = disabledScale, hoveredDisabledScale: Float = disabledScale): Scale

Creates a Scale instance with configurable scale values for different interaction states.

Parameters

scale

The default scale value.

focusedScale

The scale when the element is focused.

hoveredScale

The scale when the element is hovered.

pressedScale

The scale when the element is pressed.

selectedScale

The scale when the element is selected.

disabledScale

The scale when the element is disabled.

focusedSelectedScale

The scale when the element is both focused and selected.

pressedSelectedScale

The scale when the element is both pressed and selected.

hoveredSelectedScale

The scale when the element is both hovered and selected.

focusedDisabledScale

The scale when the element is both focused and disabled.

pressedDisabledScale

The scale when the element is both pressed and disabled.

hoveredDisabledScale

The scale when the element is both hovered and disabled.