Package com.esri.arcgisruntime.raster
Class Colormap
- java.lang.Object
-
- com.esri.arcgisruntime.raster.Colormap
-
public final class Colormap extends java.lang.Object
Represents a raster color map.- Since:
- 100.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Colormap
create(java.lang.Iterable<java.lang.Integer> colors)
Creates a Colormap with the given collection of integer, 0xAARRGGBB, colors.
-
-
-
Method Detail
-
create
public static Colormap create(java.lang.Iterable<java.lang.Integer> colors)
Creates a Colormap with the given collection of integer, 0xAARRGGBB, colors.- Parameters:
colors
- a collection of colors, the color at the 0th index is used for raster pixels that have a value of 0, color at 1st index for value 1, and so on.- Returns:
- a Colormap instance
- Throws:
java.lang.IllegalArgumentException
- if colors is null- Since:
- 100.4.0
-
-