Class CIMSpotColorSpace
Represents a color space for spot colors.
public class CIMSpotColorSpace : CIMColorSpace
- Inheritance
-
CIMSpotColorSpace
- Inherited Members
Remarks
A color space defined for spot colors including alternate and book colors.
Constructors
CIMSpotColorSpace()
public CIMSpotColorSpace()
Properties
AlternativeColor
Gets or sets the standard (non-spot) color that is used to display the color on-screen.
public CIMColor AlternativeColor { get; set; }
Property Value
BookColor
Gets or sets the if present, the color used during output.
public CIMColor BookColor { get; set; }
Property Value
BookID
Gets or sets the ID of the book the color name belongs to.
public string BookID { get; set; }
Property Value
Description
Gets or sets a description of the ink. This can provide more information than the name.
public string Description { get; set; }
Property Value
IsReferencedColor
Gets or sets a value indicating whether or not the color is a referenced color. When this property is true, the alternative color will be looked up from the color book based on the BookID and Name.
public bool IsReferencedColor { get; set; }
Property Value
Name
Gets or sets the defined ink name for the spot color. Usually this is a well-known color standard name.
public string Name { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMSpotColorSpace with a specified state from a JSON encoding.
public static CIMSpotColorSpace FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMSpotColorSpace state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMSpotColorSpace and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.