DropShadowEffectBase
struct · ferroui-base · v0.5.0
struct DropShadowEffectBase
The properties shared by the drop shadow effects.
Members
TYPEto_refblur_radius_propertycolor_propertyopacity_propertyconstructblur_radiusset_blur_radiuscolorset_coloropacityset_opacity
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<DropShadowEffectBase>
Returns a strong reference to this object.
blur_radius_property
fn blur_radius_property() -> &'static StyledProperty<f64>
color_property
fn color_property() -> &'static StyledProperty<Color>
opacity_property
fn opacity_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
blur_radius
fn blur_radius(self: &Self) -> f64
The blur radius of the shadow.
set_blur_radius
fn set_blur_radius(self: &Self, value: f64)
color
fn color(self: &Self) -> Color
The color of the shadow.
set_color
fn set_color(self: &Self, value: Color)
opacity
fn opacity(self: &Self) -> f64
The opacity of the shadow.
set_opacity
fn set_opacity(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<DropShadowEffectBase>StaticTypeObjectTypeSubclassable<T>FerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.