WithImage
A ButtonStateStyleDSL for creating a ButtonStateStyle.WithImage
Inheritors
Properties
Link copied to clipboard
The KalugaBackgroundStyle of the button in the state
Functions
Link copied to clipboard
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
Link copied to clipboard
Sets ButtonStateStyle.WithImage.image to ButtonImage.Image for the given image
Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image
Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image and tint