ShadowEffect
struct · ferroui-base · v0.5.0
struct ShadowEffect
The shadow of its source (Win2D ShadowEffect): the alpha of the source
in the shadow colour, blurred. Animatable: BlurAmount, ShadowColor.
Members
name
name: String
The name of the effect.
blur_amount
blur_amount: f32
The standard deviation of the blur, in device independent pixels (default 1).
shadow_color
shadow_color: crate::media::Color
The colour of the shadow (default opaque black); its alpha scales the alpha of the source.
optimization
optimization: EffectOptimization
The speed and quality trade-off (every setting draws the exact blur).
source
source: Option<GraphicsEffectSource>
The input.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<ShadowEffect>CloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.