Colormap class final
The colormap object.
This object is used to represent a colormap object.
- Implemented types
Constructors
-
Colormap(List<
Color> colors) -
Creates a colormap with the specified colors. Raster value of 0 gets
mapped to the first color in the array, and each consecutive raster value
maps to the subsequenet color in the array.
factory
-
Colormap.fromValuesAndColors(Map<
int, Color> colorMappings) -
Creates a colormap with the specified mapping of raster values to colors.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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