FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SepiaEffect

    struct · ferroui-base · v0.5.0

    struct SepiaEffect
    

    Tones its source in sepia (Win2D SepiaEffect): a colour matrix (ColorMatrix::sepia) between the identity at intensity 0 and the sepia matrix at 1. Animatable: Intensity.

    View source

    Members

    name

    name: String
    

    The name of the effect.

    Source

    intensity

    intensity: f32
    

    The intensity, 0 to 1 (default 0.5).

    Source

    alpha_mode

    alpha_mode: crate::media::ColorMatrixAlphaMode
    

    Whether the matrix applies to premultiplied or straight colours (default premultiplied: the colour is un-premultiplied first).

    Source

    source

    source: Option<GraphicsEffectSource>
    

    The input.

    Source

    Trait implementations

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

    Availability

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