Class CIMRGBColor

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

Represents a color in the RGB color model.

public class CIMRGBColor : CIMColor
Inheritance
CIMRGBColor
Inherited Members

Remarks

A color in the RGB (red, green, blue) color model. RGB is an additive, or light-emissive model based on red, green, and blue values.

Constructors

CIMRGBColor()

public CIMRGBColor()

Methods

FromJson(string, JsonDeserializationSettings)

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

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

Parameters

json string

The JSON string containing the CIMRGBColor state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMRGBColor

ToJson(JsonSerializationSettings)

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

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string