Package-level declarations

Types

Link copied to clipboard
data class ButtonStateStyle(val textColor: KalugaColor, val backgroundStyle: KalugaBackgroundStyle)

Style of a button for its current state

Link copied to clipboard

An Error thrown if the size of a list of GradientStyle.ColorPoint is too small

Link copied to clipboard
sealed class GradientStyle

A style for applying to a Gradient color

Link copied to clipboard
data class KalugaBackgroundStyle(val fillStyle: KalugaBackgroundStyle.FillStyle, val strokeStyle: KalugaBackgroundStyle.StrokeStyle = StrokeStyle.None, val shape: KalugaBackgroundStyle.Shape = Shape.Rectangle())

Style to apply to the background of a view

Link copied to clipboard
data class KalugaButtonStyle(val font: KalugaFont, val textSize: Float, val textAlignment: KalugaTextAlignment = KalugaTextAlignment.CENTER, val defaultStyle: ButtonStateStyle, val pressedStyle: ButtonStateStyle = defaultStyle, val disabledStyle: ButtonStateStyle = defaultStyle)

The style to apply to a button

Link copied to clipboard

Alignment at which a text is located

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

The style to apply to a text

Properties

Link copied to clipboard

Converts a list of KalugaColor to a list of GradientStyle.ColorPoint spread evenly across the spectrum