Class CIMICCColorSpace
Represents a color space defined by an International Color Consortium (ICC) color profile.
public class CIMICCColorSpace : CIMColorSpace
- Inheritance
-
CIMICCColorSpace
- Inherited Members
Remarks
A color space defined by an International Color Consortium (ICC) color profile.
Constructors
CIMICCColorSpace()
public CIMICCColorSpace()
Properties
URL
Gets or sets the URL of short name of the color space definition.
public string URL { get; set; }
Property Value
Remarks
As a shortcut, the following strings can be set instead of full URLs: "Default RGB", "Default CMYK", "CIELAB", "CIEXYZ", and "Default Gray".
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMICCColorSpace with a specified state from a JSON encoding.
public static CIMICCColorSpace FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMICCColorSpace state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMICCColorSpace and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.