Class CIMHSVColor
Represents a color defined by hue, saturation, and brightness (value).
public class CIMHSVColor : CIMColor
- Inheritance
-
CIMHSVColor
- Inherited Members
Remarks
Transforms RGB values by defining the hue, saturation, and brightness (value) of the color. The three values do not represent individual color channels but the HSV coordinates used to define the color in the RGB color model.
Constructors
CIMHSVColor()
public CIMHSVColor()
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMHSVColor with a specified state from a JSON encoding.
public static CIMHSVColor FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMHSVColor state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMHSVColor and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.