Class CIMGrayColor

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

Represents a grayscale color defined by lightness.

public class CIMGrayColor : CIMColor
Inheritance
CIMGrayColor
Inherited Members

Remarks

A color in a grayscale model, where the value of lightness is defined.

Constructors

CIMGrayColor()

public CIMGrayColor()

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMGrayColor state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMGrayColor

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string