Class CIMHSLColor

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

Represents a color defined by hue, saturation, and lightness.

public class CIMHSLColor : CIMColor
Inheritance
CIMHSLColor
Inherited Members

Remarks

Transforms RGB values by defining the hue, saturation, and lightness of the color. The three values do not represent individual color channels but the HSL coordinates used to define the color in the RGB color model.

Constructors

CIMHSLColor()

public CIMHSLColor()

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMHSLColor state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMHSLColor

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string