Class CIMHSVColor

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

Represents a color defined by hue, saturation, and brightness (value).

public class CIMHSVColor : CIMColor
Inheritance
CIMHSVColor
Inherited Members

Remarks

Transforms RGB values by defining the hue, saturation, and brightness (value) of the color. The three values do not represent individual color channels but the HSV coordinates used to define the color in the RGB color model.

Constructors

CIMHSVColor()

public CIMHSVColor()

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMHSVColor state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMHSVColor

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string