FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TintEffect

    struct · ferroui-base · v0.5.0

    struct TintEffect
    

    Multiplies the channels of its source by a colour (Win2D TintEffect). Animatable: Color.

    View source

    Members

    name

    name: String
    

    The name of the effect.

    Source

    color

    color: crate::media::Color
    

    The colour (default opaque white).

    Source

    clamp_output

    clamp_output: bool
    

    Whether the output is clamped (stored; the drawing contexts clamp).

    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<TintEffect>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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