setImage

fun setImage(image: KalugaImage)

Sets ButtonStateStyle.WithImage.image to ButtonImage.Image for the given image

Parameters

image

the KalugaImage to set as the image of the state


fun setImage(image: TintedImage)

Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image

Parameters

image

the TintedImage to set as the image of the state


fun setImage(image: KalugaImage, tint: KalugaColor)

Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image and tint

Parameters

image

the KalugaImage to tint as the image of the state

tint

the KalugaColor to tint image as