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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.2 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.3 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.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
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |