pub struct RectangleClipProps { /* private fields */ }Expand description
The UI-thread properties of RectangleClip.
Implementations§
Source§impl RectangleClipProps
impl RectangleClipProps
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates the properties with every field at the default of its type.
The defaults of the schema are applied by
initialize_defaults.
Sourcepub fn base(&self) -> &CompositionClipProps
pub fn base(&self) -> &CompositionClipProps
The properties of the base class.
Sourcepub fn initialize_defaults(&self, host: &dyn RectangleClipHooks)
pub fn initialize_defaults(&self, host: &dyn RectangleClipHooks)
The InitializeDefaults calls of the constructor chain: the base
classes first, then this class.
Sourcepub fn initialize_own_defaults(&self, host: &dyn RectangleClipHooks)
pub fn initialize_own_defaults(&self, host: &dyn RectangleClipHooks)
InitializeDefaults of this class alone.
Sourcepub fn set_left(&self, host: &dyn RectangleClipHooks, value: f32)
pub fn set_left(&self, host: &dyn RectangleClipHooks, value: f32)
Sets Left (animated, FerroUI overlay).
Sourcepub fn set_top(&self, host: &dyn RectangleClipHooks, value: f32)
pub fn set_top(&self, host: &dyn RectangleClipHooks, value: f32)
Sets Top (animated, FerroUI overlay).
Sourcepub fn set_right(&self, host: &dyn RectangleClipHooks, value: f32)
pub fn set_right(&self, host: &dyn RectangleClipHooks, value: f32)
Sets Right (animated, FerroUI overlay).
Sourcepub fn set_bottom(&self, host: &dyn RectangleClipHooks, value: f32)
pub fn set_bottom(&self, host: &dyn RectangleClipHooks, value: f32)
Sets Bottom (animated, FerroUI overlay).
Sourcepub fn top_left_radius(&self) -> Vector
pub fn top_left_radius(&self) -> Vector
TopLeftRadius (animated, FerroUI overlay).
Sourcepub fn set_top_left_radius(&self, host: &dyn RectangleClipHooks, value: Vector)
pub fn set_top_left_radius(&self, host: &dyn RectangleClipHooks, value: Vector)
Sets TopLeftRadius (animated, FerroUI overlay).
Sourcepub fn top_right_radius(&self) -> Vector
pub fn top_right_radius(&self) -> Vector
TopRightRadius (animated, FerroUI overlay).
Sourcepub fn set_top_right_radius(&self, host: &dyn RectangleClipHooks, value: Vector)
pub fn set_top_right_radius(&self, host: &dyn RectangleClipHooks, value: Vector)
Sets TopRightRadius (animated, FerroUI overlay).
Sourcepub fn bottom_left_radius(&self) -> Vector
pub fn bottom_left_radius(&self) -> Vector
BottomLeftRadius (animated, FerroUI overlay).
Sourcepub fn set_bottom_left_radius(
&self,
host: &dyn RectangleClipHooks,
value: Vector,
)
pub fn set_bottom_left_radius( &self, host: &dyn RectangleClipHooks, value: Vector, )
Sets BottomLeftRadius (animated, FerroUI overlay).
Sourcepub fn bottom_right_radius(&self) -> Vector
pub fn bottom_right_radius(&self) -> Vector
BottomRightRadius (animated, FerroUI overlay).
Sourcepub fn set_bottom_right_radius(
&self,
host: &dyn RectangleClipHooks,
value: Vector,
)
pub fn set_bottom_right_radius( &self, host: &dyn RectangleClipHooks, value: Vector, )
Sets BottomRightRadius (animated, FerroUI overlay).
Sourcepub fn start_animation(
&self,
host: &dyn RectangleClipHooks,
property_name: &str,
animation: &dyn ICompositionAnimation,
final_value: Option<ExpressionVariant>,
) -> bool
pub fn start_animation( &self, host: &dyn RectangleClipHooks, property_name: &str, animation: &dyn ICompositionAnimation, final_value: Option<ExpressionVariant>, ) -> bool
Connects an animation with the named property. Returns false when
neither this class nor its generated bases have an animated property
of that name: the caller continues with its hand-written base.
Sourcepub fn serialize_changes_core(
&self,
host: &dyn RectangleClipHooks,
writer: &mut BatchStreamWriter<'_>,
)
pub fn serialize_changes_core( &self, host: &dyn RectangleClipHooks, writer: &mut BatchStreamWriter<'_>, )
Writes the changes of the object: the base class first, then the changed-fields mask and the changed members of this class.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RectangleClipProps
impl !RefUnwindSafe for RectangleClipProps
impl !Sync for RectangleClipProps
impl Send for RectangleClipProps
impl Unpin for RectangleClipProps
impl UnsafeUnpin for RectangleClipProps
impl UnwindSafe for RectangleClipProps
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
affects_render, metadata
overrides). Read more