ArcGIS Runtime SDK for iOS
100.15
|
A colormap raster renderer.
Instances of this class represent a color map renderer that can help visualize raster data using AGSRasterLayer
. It displays each pixel value in the raster using a color from the color map. Color maps contain a set of values that are associated with colors and are used to display a single-band raster consistently with the same colors. Each pixel value is associated with a color. You can use a color map to represent analyzed data, such as a classified image, or when displaying a topographic map (or index color-scanned image).
Instance Methods | |
(instancetype) | - init |
(instancetype) | - initWithColormap: |
(instancetype) | - initWithColors: |
Class Methods | |
(instancetype) | + colormapRendererWithColormap: |
(instancetype) | + colormapRendererWithColors: |
(instancetype) | + rasterRenderer |
Properties | |
AGSColormap * | colormap |
+ (instancetype) colormapRendererWithColormap: | (AGSColormap *) | colormap |
Initialize a colormap renderer based on the provided colormap
colormap | to use. |
+ (instancetype) colormapRendererWithColors: | (NSArray< AGSColor * > *) | colors |
Initialize a colormap renderer based on the provided colors
colors | to use. 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) init |
- (instancetype) initWithColormap: | (AGSColormap *) | colormap |
Initialize a colormap renderer based on the provided colormap
colormap | to use. |
- (instancetype) initWithColors: | (NSArray< AGSColor * > *) | colors |
Initialize a colormap renderer based on the provided colors
colors | to use. 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) rasterRenderer |
|
readnonatomicstrong |
The colormap used to create renderer.