Show / Hide Table of Contents

Constructor ColormapRenderer

ColormapRenderer(IEnumerable<Color>)

Initializes a new instance of the ColormapRenderer class with a colormap created from the specified colors. Raster value of 0 maps to the first color, with each consecutive value mapping to the next color.

Declaration
public ColormapRenderer(IEnumerable<Color> colors)
Parameters
Type Name Description
IEnumerable<Color> colors

A collection of colors.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.2 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.3 - 200.8
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.15
UWP100.3 - 200.8

ColormapRenderer(Colormap?)

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

Declaration
public ColormapRenderer(Colormap? colormap)
Parameters
Type Name Description
Colormap colormap

Colormap

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.