Class CIMXYZColor
Represents a color in the XYZ color model.
public class CIMXYZColor : CIMColor
- Inheritance
-
CIMXYZColor
- Inherited Members
Remarks
A color in the XYZ color space which is based on direct measurements of the human eye.
Constructors
CIMXYZColor()
public CIMXYZColor()
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMXYZColor with a specified state from a JSON encoding.
public static CIMXYZColor FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMXYZColor state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMXYZColor and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.