Fixed

data class Fixed(val offset: Float, val color: Color) : GradientStop(source)

A fixed color, drawn as given.

Constructors

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

Properties

Link copied to clipboard

The stop color, including its alpha.

Link copied to clipboard
open override val offset: Float

Where the color sits, from 0 at the gradient's start to 1 at its end.