Class CIMRandomHSVColorRamp
Represents a random HSV color ramp scheme.
public class CIMRandomHSVColorRamp : CIMColorRamp
- Inheritance
-
CIMRandomHSVColorRamp
- Inherited Members
Remarks
A color ramp scheme where the colors are randomly selected within the set range of hue, saturation, and value values.
Constructors
CIMRandomHSVColorRamp()
public CIMRandomHSVColorRamp()
Properties
MaxAlpha
Gets or sets the maximum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.
public float MaxAlpha { get; set; }
Property Value
MaxH
Gets or sets the hue at which the color ramp (also known as a color scheme) will end. Values can range from 0-360.
public float MaxH { get; set; }
Property Value
MaxS
Gets or sets the maximum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
public float MaxS { get; set; }
Property Value
MaxV
Gets or sets the maximum value possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
public float MaxV { get; set; }
Property Value
MinAlpha
Gets or sets the minimum alpha or transparency for all of the colors. Can be a value between 0-100, where 0 is fully transparent.
public float MinAlpha { get; set; }
Property Value
MinH
Gets or sets the hue from which the color ramp (also known as a color scheme) will start. Values can range from 0-360.
public float MinH { get; set; }
Property Value
MinS
Gets or sets the minimum saturation possible for the colors within the color ramp (also known as a color scheme). Values can range between 0-100.
public float MinS { get; set; }
Property Value
MinV
Gets or sets the minimum value possible for the colors within the ramp (also known as a scheme). Values can range between 0-100.
public float MinV { get; set; }
Property Value
Seed
Gets or sets the starting point for the random generation of the colors.
public int Seed { get; set; }
Property Value
Methods
FromJson(string, JsonDeserializationSettings)
Reconstructs the CIMRandomHSVColorRamp with a specified state from a JSON encoding.
public static CIMRandomHSVColorRamp FromJson(string json, JsonDeserializationSettings settings = null)
Parameters
jsonstringThe JSON string containing the CIMRandomHSVColorRamp state.
settingsJsonDeserializationSettingsThe JSON deserialization settings.
Returns
ToJson(JsonSerializationSettings)
Creates a JSON encoding of the CIMRandomHSVColorRamp and its current state.
public override string ToJson(JsonSerializationSettings settings = null)
Parameters
settingsJsonSerializationSettingsThe JSON serialization settings.