FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ColorSpectrumComponents

    enum · ferroui-controls-color-picker · v0.5.0

    enum ColorSpectrumComponents
    

    Defines the two HSV color components displayed by a ColorSpectrum.

    Order of the color components is important and correspond with an X/Y axis in Box shape or a degree/radius in Ring shape.

    View source

    Members

    HueValue

    HueValue = 0
    

    The Hue and Value components.

    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.

    Source

    ValueHue

    ValueHue = 1
    

    The Value and Hue components.

    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.

    Source

    HueSaturation

    HueSaturation = 2
    

    The Hue and Saturation components.

    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.

    Source

    SaturationHue

    SaturationHue = 3
    

    The Saturation and Hue components.

    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.

    Source

    SaturationValue

    SaturationValue = 4
    

    The Saturation and Value components.

    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.

    Source

    ValueSaturation

    ValueSaturation = 5
    

    The Value and Saturation components.

    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.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.