Class Colormap

java.lang.Object
com.esri.arcgisruntime.raster.Colormap

public final class Colormap extends Object
Represents a raster color map.
Since:
100.4.0
  • Method Details

    • create

      public static Colormap create(Iterable<Color> colors)
      Creates a Colormap with the given collection of 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:
      IllegalArgumentException - if colors is null
      Since:
      200.0.0