ColorPoint

data class ColorPoint(val color: KalugaColor, val offset: Float)

A point on a GradientStyle at which a given KalugaColor should be visible

Constructors

Link copied to clipboard
constructor(color: KalugaColor, offset: Float)

Properties

Link copied to clipboard

the KalugaColor at the point

Link copied to clipboard

the offset from the start of the gradient at which the point is. Should range between 0.0 and 1.0