FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowTransparencyLevel

    struct · ferroui-controls · v0.5.0

    struct WindowTransparencyLevel
    

    A transparency level a window can be asked to render with.

    The set of levels is closed: values are obtained from the associated functions (none, transparent, ...).

    View source

    Members

    none

    const fn none() -> Self
    

    The window background is black where the client area is transparent.

    Source

    transparent

    const fn transparent() -> Self
    

    The window background is transparent.

    Source

    blur

    const fn blur() -> Self
    

    The window background is a blur-behind where the client area is transparent.

    Source

    acrylic_blur

    const fn acrylic_blur() -> Self
    

    The window background is a blur-behind with a high blur radius. This level may fall back to blur, if the platform doesn't support acrylic.

    Source

    mica

    const fn mica() -> Self
    

    The window background is based on desktop wallpaper tint with a blur. This will only work on Windows 11.

    Source

    Trait implementations

    Availability

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