ColorScaleSpec

data class ColorScaleSpec(val stops: List<Number>, val positions: List<Number>, val interval: Int, val range: ValueRange, val normalized: Boolean, val interpolate: Boolean)

Color-scale specification (stops, positions, interval, range) used when building ColorScaleOptions.

Constructors

Link copied to clipboard
constructor(stops: List<Number>, positions: List<Number>, interval: Int, range: ValueRange, normalized: Boolean, interpolate: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Widens this specification into the ColorScaleOptions the style pipeline now takes.