FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompositionColorSpace

    enum · ferroui-base · v0.5.0

    enum CompositionColorSpace
    

    The colour space a colour animation interpolates in (WinUI CompositionColorSpace, the type of ColorKeyFrameAnimation.InterpolationColorSpace).

    View source

    Members

    Auto

    Auto
    

    The compositor chooses: here the gamma-encoded RGB space, as Rgb.

    Source

    Hsl

    Hsl
    

    Hue, saturation and lightness.

    Source

    Rgb

    Rgb
    

    The red, green and blue channels as stored (gamma-encoded sRGB).

    Source

    HslLinear

    HslLinear
    

    Hue, saturation and lightness of the linear-light colour.

    Source

    RgbLinear

    RgbLinear
    

    The red, green and blue channels in linear light.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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