Class CIMPolarContinuousColorRamp

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

Represents a polar continuous color ramp scheme.

public class CIMPolarContinuousColorRamp : CIMContinuousColorRamp
Inheritance
CIMPolarContinuousColorRamp
Inherited Members

Remarks

A color ramp scheme that has a polar transition between two colors. This scheme uses the HSV algorithm which uses a path around the color wheel to transition the hue, saturation, and value of the beginning color to the hue, saturation, and value of the ending color.

Constructors

CIMPolarContinuousColorRamp()

public CIMPolarContinuousColorRamp()

Properties

InterpolationSpace

Gets or sets the color space in which the polar interpolation occurs. HSV, HLS, and LAB are the only supported color space types.

public ColorSpaceType InterpolationSpace { get; set; }

Property Value

ColorSpaceType

PolarDirection

Gets or sets the direction of the polar progression for the path from the beginning hue to the ending hue.

public PolarDirection PolarDirection { get; set; }

Property Value

PolarDirection

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMPolarContinuousColorRamp state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMPolarContinuousColorRamp

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string