Skip to main content

ColorSpectrumComponents Enum

Definition

Assembly:Avalonia.Controls.ColorPicker
Package:Avalonia.Controls.ColorPicker

Defines the two HSV color components displayed by a Avalonia.Controls.Primitives.ColorSpectrum.

public enum ColorSpectrumComponents

Inheritance: 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

NameDescription
HueSaturationThe Hue and Saturation components.
HueValueThe Hue and Value components.
SaturationHueThe Saturation and Hue components.
SaturationValueThe Saturation and Value components.
ValueHueThe Value and Hue components.
ValueSaturationThe 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.