DropShadowEffect
struct · ferroui-base · v0.5.0
struct DropShadowEffect
An effect that draws a shadow behind its content, positioned by an offset.
Members
TYPEto_refoffset_x_propertyoffset_y_propertyconstructnewoffset_xset_offset_xoffset_yset_offset_yto_immutable
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<DropShadowEffect>
Returns a strong reference to this object.
offset_x_property
fn offset_x_property() -> &'static StyledProperty<f64>
offset_y_property
fn offset_y_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
offset_x
fn offset_x(self: &Self) -> f64
The horizontal offset of the shadow.
set_offset_x
fn set_offset_x(self: &Self, value: f64)
offset_y
fn offset_y(self: &Self) -> f64
The vertical offset of the shadow.
set_offset_y
fn set_offset_y(self: &Self, value: f64)
to_immutable
fn to_immutable(self: &Self) -> std::sync::Arc<dyn IImmutableEffect>
Creates an immutable clone of the effect.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<DropShadowEffect>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.