Series

data class Series(val offset: Float, val alpha: Float) : GradientStop(source)

The color the chart resolves for the shape, such as the bar's color, drawn at alpha. One gradient can then follow every color of a palette.

Constructors

Link copied to clipboard
constructor(offset: Float, alpha: Float)

Properties

Link copied to clipboard

The alpha in 0..1. Replaces the resolved color's 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.