ColorSpectrumComponents Enum
Definition
Defines the two HSV color components displayed by a Avalonia.Controls.Primitives.ColorSpectrum.
public enum ColorSpectrumComponents
Remarks
Order of the color components is important and correspond with an X/Y axis in Box shape or a degree/radius in Ring shape.
Fields
| Name | Description |
|---|---|
| HueSaturation | The Hue and Saturation components. |
| HueValue | The Hue and Value components. |
| SaturationHue | The Saturation and Hue components. |
| SaturationValue | The Saturation and Value components. |
| ValueHue | The Value and Hue components. |
| ValueSaturation | The Value and Saturation components. |
HueSaturation Field
The Hue and Saturation components.
public Avalonia.Controls.ColorSpectrumComponents HueSaturation
Remarks
In Box shape, Hue is mapped to the X-axis and Saturation is mapped to the Y-axis. In Ring shape, Hue is mapped to degrees and Saturation is mapped to radius.
HueValue Field
The Hue and Value components.
public Avalonia.Controls.ColorSpectrumComponents HueValue
Remarks
In Box shape, Hue is mapped to the X-axis and Value is mapped to the Y-axis. In Ring shape, Hue is mapped to degrees and Value is mapped to radius.
SaturationHue Field
The Saturation and Hue components.
public Avalonia.Controls.ColorSpectrumComponents SaturationHue
Remarks
In Box shape, Saturation is mapped to the X-axis and Hue is mapped to the Y-axis. In Ring shape, Saturation is mapped to degrees and Hue is mapped to radius.
SaturationValue Field
The Saturation and Value components.
public Avalonia.Controls.ColorSpectrumComponents SaturationValue
Remarks
In Box shape, Saturation is mapped to the X-axis and Value is mapped to the Y-axis. In Ring shape, Saturation is mapped to degrees and Value is mapped to radius.
ValueHue Field
The Value and Hue components.
public Avalonia.Controls.ColorSpectrumComponents ValueHue
Remarks
In Box shape, Value is mapped to the X-axis and Hue is mapped to the Y-axis. In Ring shape, Value is mapped to degrees and Hue is mapped to radius.
ValueSaturation Field
The Value and Saturation components.
public Avalonia.Controls.ColorSpectrumComponents ValueSaturation
Remarks
In Box shape, Value is mapped to the X-axis and Saturation is mapped to the Y-axis. In Ring shape, Value is mapped to degrees and Saturation is mapped to radius.