StyleScope

A scope used to define the style properties of the element.

Properties

Link copied to clipboard
abstract var alpha: Float

Sets the alpha value of the element. Range 0.0f to 1.0f.

Link copied to clipboard
abstract var border: Border

Sets the border of the element.

Link copied to clipboard
abstract var color: Color

Sets the background color of the element.

Link copied to clipboard
abstract val enabled: Boolean
Link copied to clipboard
abstract val focused: Boolean
Link copied to clipboard
abstract val hovered: Boolean
Link copied to clipboard
abstract val pressed: Boolean
Link copied to clipboard
abstract var scale: Float

Sets the animated scale of the element.

Link copied to clipboard
abstract val selected: Boolean
Link copied to clipboard
abstract var shape: Shape

Sets the shape for the element.