FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DropShadowEffectBase

    struct · ferroui-base · v0.5.0

    struct DropShadowEffectBase
    

    The properties shared by the drop shadow effects.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<DropShadowEffectBase>
    

    Returns a strong reference to this object.

    Source

    blur_radius_property

    fn blur_radius_property() -> &'static StyledProperty<f64>
    

    Source

    color_property

    fn color_property() -> &'static StyledProperty<Color>
    

    Source

    opacity_property

    fn opacity_property() -> &'static StyledProperty<f64>
    

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    blur_radius

    fn blur_radius(self: &Self) -> f64
    

    The blur radius of the shadow.

    Source

    set_blur_radius

    fn set_blur_radius(self: &Self, value: f64)
    

    Source

    color

    fn color(self: &Self) -> Color
    

    The color of the shadow.

    Source

    set_color

    fn set_color(self: &Self, value: Color)
    

    Source

    opacity

    fn opacity(self: &Self) -> f64
    

    The opacity of the shadow.

    Source

    set_opacity

    fn set_opacity(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

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