KalugaTextStyle

data class KalugaTextStyle(val font: KalugaFont, val color: KalugaColor, val size: Float, val alignment: KalugaTextAlignment = KalugaTextAlignment.START)

The style to apply to a text

Constructors

Link copied to clipboard
constructor(font: KalugaFont, color: KalugaColor, size: Float, alignment: KalugaTextAlignment = KalugaTextAlignment.START)

Properties

Link copied to clipboard
Link copied to clipboard

the KalugaColor with which to display the text

Link copied to clipboard

the KalugaFont with which to display the text

Link copied to clipboard
val size: Float

the size of the text in points