Class CIMLABColor
Represents a color defined in the LAB color space.
public class CIMLABColor : CIMColor
- Inheritance
-
CIMLABColor
- Inherited Members
Remarks
Defines colors in the CIELAB color space, which is a color-opponent space with dimension L for lightness and a and b for the color-opponent dimensions.
Constructors
CIMLABColor()
public CIMLABColor()
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMLABColor with a specified state from a JSON encoding.
public static CIMLABColor FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMLABColor state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMLABColor and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.