Class CIMFixedColorRamp

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents a color scheme composed of discrete colors.

public class CIMFixedColorRamp : CIMColorRamp
Inheritance
CIMFixedColorRamp
Inherited Members

Remarks

A color scheme composed of an ordered list of discrete colors.

Constructors

CIMFixedColorRamp()

public CIMFixedColorRamp()

Properties

Arrangement

Gets or sets the arrangement type.

public FixedColorRampArrangementType Arrangement { get; set; }

Property Value

FixedColorRampArrangementType

Colors

Gets or sets the ordered list of colors in the color scheme.

public CIMColor[] Colors { get; set; }

Property Value

CIMColor[]

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMFixedColorRamp with a specified state from a JSON encoding.

public static CIMFixedColorRamp FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMFixedColorRamp state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMFixedColorRamp

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMFixedColorRamp and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string