ButtonStateStyleDSL
DSL for creating a ButtonStateStyle
Inheritors
Types
Link copied to clipboard
A ButtonStateStyleDSL.WithImage for creating a ButtonStateStyle.ImageOnly
Link copied to clipboard
A ButtonStateStyleDSL.WithText for creating a ButtonStateStyle.TextOnly
Link copied to clipboard
A ButtonStateStyleDSL for creating a ButtonStateStyle.WithImage
Link copied to clipboard
Link copied to clipboard
A ButtonStateStyleDSL for creating a ButtonStateStyle.WithoutContent
Link copied to clipboard
A ButtonStateStyleDSL for creating a ButtonStateStyle.WithText
Properties
Link copied to clipboard
The KalugaBackgroundStyle of the button in the state
Functions
Link copied to clipboard
open fun setBackgroundStyle(backgroundColor: KalugaColor = DefaultColors.clear, shape: KalugaBackgroundStyle.Shape = KalugaBackgroundStyle.Shape.Rectangle())
Sets backgroundStyle to a KalugaBackgroundStyle with KalugaBackgroundStyle.FillStyle.Solid based on a backgroundColor and shape