Color Lookup Table
class ColorLookupTable(val stops: List<ColorStop>, val range: ClosedRange<Double>, val interpolate: Boolean = true, val interval: Double = 0.0, var roundDown: Boolean = false)
Color lookup table.
Constructors
Link copied to clipboard
constructor(stops: List<ColorStop>, range: ClosedRange<Double>, interpolate: Boolean = true, interval: Double = 0.0, roundDown: Boolean = false)
Create ColorLookupTable
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Whether color values between the defined color stops should be interpolated. When enabled, colors will be linearly interpolated and appear more gradient-like. Otherwise, values in between color stops will use the next lowest color stop resulting in only the provided color stops being rendered.
Link copied to clipboard
Interval for which color stops are desired within the data range. This value must be in the same unit as the values provided in stops and the underlying data. If set to 0.0, then the color scale will be linearly interpolated between color stops to produce a smooth gradient.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The value range for the scale.
Link copied to clipboard