Show / Hide Table of Contents

Class ColormapRenderer

A colormap renderer provides a discrete mapping of raster cell values to colors to help visualize the raster data in a RasterLayer.

Inheritance
System.Object
RasterRenderer
ColormapRenderer
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ColormapRenderer : RasterRenderer
Remarks

All cells matching the specified value will be rendered using the mapped color. This is useful for thematic mapping tasks such as land classification when you want the values in the raster layer to be represented by a specified color. This concept of this class is similar to a UniqueValueRenderer, except that ColormapRenderer is specifically for rendering raster cell values.

Constructors

Name Description
ColormapRenderer(Colormap)

Initializes a new instance of the ColormapRenderer class from a color map.

ColormapRenderer(IEnumerable<Color>)

Initializes a new instance of the ColormapRenderer class.

Properties

Name Description
Colormap

Gets the colormap

See Also

Renderer

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.