FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BorderEffect

    struct · ferroui-base · v0.5.0

    struct BorderEffect
    

    Extends its source beyond its edges (Win2D BorderEffect): a surface brush source tiles over the area of the brush when an edge behaviour is Wrap (or Mirror, drawn as Wrap); any other source, or Clamp on both sides, is drawn as it is.

    View source

    Members

    name

    name: String
    

    The name of the effect.

    Source

    extend_x

    extend_x: CanvasEdgeBehavior
    

    The horizontal behaviour.

    Source

    extend_y

    extend_y: CanvasEdgeBehavior
    

    The vertical behaviour.

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

    Availability

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