ImmutableDropShadowDirectionEffect
struct · ferroui-base · v0.5.0
struct ImmutableDropShadowDirectionEffect
An immutable drop shadow effect described by a direction and a depth.
Members
new
fn new(direction: f64, shadow_depth: 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.
direction
fn direction(self: &Self) -> f64
The direction of the shadow, in degrees.
shadow_depth
fn shadow_depth(self: &Self) -> f64
The distance of the shadow from the content.
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>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugIEffectIDropShadowEffectIDirectionDropShadowEffectIImmutableEffect
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.