ColormapRenderer class final
A colormap renderer provides a discrete mapping of raster cell values to colors to help visualize the raster data in a RasterLayer.
All cells matching the specified value will be rendered using the mapped color. This is useful for thematic mapping tasks such as land classification when you want the values in the raster layer to be represented by a specified color. This concept of this class is similar to an UniqueValueRenderer, except that ColormapRenderer is specifically for rendering raster cell values.
- Inheritance
-
- Object
- RasterRenderer
- ColormapRenderer
Constructors
- ColormapRenderer.withColormap(Colormap? colormap)
-
Creates a raster colormap renderer.
factory
-
ColormapRenderer.withColors(List<
Color> colors) -
Creates a raster colormap renderer.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited