Class CIMMultipartColorRamp

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

Represents a multipart color ramp scheme.

public class CIMMultipartColorRamp : CIMColorRamp
Inheritance
CIMMultipartColorRamp
Inherited Members

Remarks

A color ramp scheme defined by combining two or more continuous, discrete, or random ramps.

Constructors

CIMMultipartColorRamp()

public CIMMultipartColorRamp()

Properties

ColorRamps

Gets or sets the ordered list of color ramps (also known as schemes) that are combined to build the multipart ramp. Typically these are continuous color ramps.

public CIMColorRamp[] ColorRamps { get; set; }

Property Value

CIMColorRamp[]

Weights

Gets or sets the proportional weight for each color ramp (also known as a color scheme) that make up the multipart ramp. This allows for ramp to ramp transition at specific weight points.

public double[] Weights { get; set; }

Property Value

double[]

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMMultipartColorRamp state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMMultipartColorRamp

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string