FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ImmutableDropShadowEffect

    struct · ferroui-base · v0.5.0

    struct ImmutableDropShadowEffect
    

    An immutable drop shadow effect.

    View source

    Members

    new

    fn new(offset_x: f64, offset_y: f64, blur_radius: f64, color: Color, opacity: f64) -> Self
    

    Source

    offset_x

    fn offset_x(self: &Self) -> f64
    

    The horizontal offset of the shadow.

    Source

    offset_y

    fn offset_y(self: &Self) -> f64
    

    The vertical offset of the shadow.

    Source

    blur_radius

    fn blur_radius(self: &Self) -> f64
    

    The blur radius of the shadow.

    Source

    color

    fn color(self: &Self) -> Color
    

    The color of the shadow.

    Source

    opacity

    fn opacity(self: &Self) -> f64
    

    The opacity of the shadow.

    Source

    Trait implementations

    Availability

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