Class CIMCMYKColor
Represents a color in the CMYK color model.
public class CIMCMYKColor : CIMColor
- Inheritance
-
CIMCMYKColor
- Inherited Members
Remarks
A color in the CMYK (cyan, magenta, yellow, black) color model. CMYK is a subtractive color model commonly used in color printing.
Constructors
CIMCMYKColor()
public CIMCMYKColor()
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMCMYKColor with a specified state from a JSON encoding.
public static CIMCMYKColor FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMCMYKColor state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMCMYKColor and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.