Show / Hide Table of Contents

Class ColorRamp

The color ramp object.

Inheritance
object
ColorRamp
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ColorRamp

Methods

Name Description
Create(PresetColorRampType, uint)

Creates a color ramp with a predefined color ramp type.

Create(IEnumerable<ColorStop>, uint)

Creates a custom color ramp with a linear gradient between the provided color stops.

Create(IEnumerable<Color>, uint)

Creates a custom color ramp with a linear gradient between the provided colors.

Applies to

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.