ArcGIS Runtime SDK for iOS
100.15
|
A colormap to display raster data as either a grayscale or color image.
An instance of this class represents a colormap to display raster data as either a grayscale or color image.
Colormaps help to associate a pixel value with a corresponding color. The pixel value is specified by the index of the color in the colormap. So, a color at index 0 in the colormap will be used to paint all the pixels that have a value of 0 in the raster.
AGSColormapRenderer
Instance Methods | |
(instancetype) | - initWithColors: |
Class Methods | |
(instancetype) | + colormapWithColors: |
+ (instancetype) colormapWithColors: | (NSArray< AGSColor * > *) | colors |
Intialize the colormap with the specified colors
colors | that are part of the colormap. 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. |
- (instancetype) initWithColors: | (NSArray< AGSColor * > *) | colors |
Intialize the colormap with the specified colors
colors | that are part of the colormap. 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. |