ImmutableDropShadowEffect
struct · ferroui-base · v0.5.0
struct ImmutableDropShadowEffect
An immutable drop shadow effect.
Members
new
fn new(offset_x: f64, offset_y: f64, blur_radius: f64, color: Color, opacity: f64) -> Self
offset_x
fn offset_x(self: &Self) -> f64
The horizontal offset of the shadow.
offset_y
fn offset_y(self: &Self) -> f64
The vertical offset of the shadow.
blur_radius
fn blur_radius(self: &Self) -> f64
The blur radius of the shadow.
color
fn color(self: &Self) -> Color
The color of the shadow.
opacity
fn opacity(self: &Self) -> f64
The opacity of the shadow.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugIEffectIDropShadowEffectIImmutableEffect
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.