pub struct GeometricClipProps { /* private fields */ }Expand description
The UI-thread properties of GeometricClip.
Implementations§
Source§impl GeometricClipProps
impl GeometricClipProps
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 GeometricClipHooks)
pub fn initialize_defaults(&self, host: &dyn GeometricClipHooks)
The InitializeDefaults calls of the constructor chain: the base
classes first, then this class.
Sourcepub fn initialize_own_defaults(&self, host: &dyn GeometricClipHooks)
pub fn initialize_own_defaults(&self, host: &dyn GeometricClipHooks)
InitializeDefaults of this class alone.
Sourcepub fn geometry(&self) -> Option<Rc<dyn ICompositionObject>>
pub fn geometry(&self) -> Option<Rc<dyn ICompositionObject>>
Geometry (FerroUI overlay).
Sourcepub fn set_geometry(
&self,
host: &dyn GeometricClipHooks,
value: Option<Rc<dyn ICompositionObject>>,
)
pub fn set_geometry( &self, host: &dyn GeometricClipHooks, value: Option<Rc<dyn ICompositionObject>>, )
Sets Geometry (FerroUI overlay).
Sourcepub fn view_box(&self) -> Option<Rc<dyn ICompositionObject>>
pub fn view_box(&self) -> Option<Rc<dyn ICompositionObject>>
ViewBox (FerroUI overlay).
Sourcepub fn set_view_box(
&self,
host: &dyn GeometricClipHooks,
value: Option<Rc<dyn ICompositionObject>>,
)
pub fn set_view_box( &self, host: &dyn GeometricClipHooks, value: Option<Rc<dyn ICompositionObject>>, )
Sets ViewBox (FerroUI overlay).
Sourcepub fn start_animation(
&self,
host: &dyn GeometricClipHooks,
property_name: &str,
animation: &dyn ICompositionAnimation,
final_value: Option<ExpressionVariant>,
) -> bool
pub fn start_animation( &self, host: &dyn GeometricClipHooks, 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 GeometricClipHooks,
writer: &mut BatchStreamWriter<'_>,
)
pub fn serialize_changes_core( &self, host: &dyn GeometricClipHooks, 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 GeometricClipProps
impl !RefUnwindSafe for GeometricClipProps
impl !Send for GeometricClipProps
impl !Sync for GeometricClipProps
impl !UnwindSafe for GeometricClipProps
impl Unpin for GeometricClipProps
impl UnsafeUnpin for GeometricClipProps
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