apply

abstract fun apply(colorScale: ColorScaleOptions): Any

Applies the provided color-scale specification to the implementing legend.

Parameters

colorScale

A complete color-scale description which may be a single ramp or a set of per-mask configurations.


abstract fun apply(colorScale: ColorScaleSpecification): Any