pub struct CompositionRoundedRectangleGeometryProps { /* private fields */ }Expand description
The UI-thread properties of CompositionRoundedRectangleGeometry.
Implementations§
Source§impl CompositionRoundedRectangleGeometryProps
impl CompositionRoundedRectangleGeometryProps
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) -> &CompositionGeometryProps
pub fn base(&self) -> &CompositionGeometryProps
The properties of the base class.
Sourcepub fn initialize_defaults(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
)
pub fn initialize_defaults( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, )
The InitializeDefaults calls of the constructor chain: the base
classes first, then this class.
Sourcepub fn initialize_own_defaults(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
)
pub fn initialize_own_defaults( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, )
InitializeDefaults of this class alone.
Sourcepub fn corner_radius(&self) -> Vector
pub fn corner_radius(&self) -> Vector
CornerRadius (animated, FerroUI overlay).
Sourcepub fn set_corner_radius(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
value: Vector,
)
pub fn set_corner_radius( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, value: Vector, )
Sets CornerRadius (animated, FerroUI overlay).
Sourcepub fn set_offset(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
value: Vector,
)
pub fn set_offset( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, value: Vector, )
Sets Offset (animated, FerroUI overlay).
Sourcepub fn set_size(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
value: Vector,
)
pub fn set_size( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, value: Vector, )
Sets Size (animated, FerroUI overlay).
Sourcepub fn start_animation(
&self,
host: &dyn CompositionRoundedRectangleGeometryHooks,
property_name: &str,
animation: &dyn ICompositionAnimation,
final_value: Option<ExpressionVariant>,
) -> bool
pub fn start_animation( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, 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 CompositionRoundedRectangleGeometryHooks,
writer: &mut BatchStreamWriter<'_>,
)
pub fn serialize_changes_core( &self, host: &dyn CompositionRoundedRectangleGeometryHooks, 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 CompositionRoundedRectangleGeometryProps
impl !RefUnwindSafe for CompositionRoundedRectangleGeometryProps
impl !Sync for CompositionRoundedRectangleGeometryProps
impl Send for CompositionRoundedRectangleGeometryProps
impl Unpin for CompositionRoundedRectangleGeometryProps
impl UnsafeUnpin for CompositionRoundedRectangleGeometryProps
impl UnwindSafe for CompositionRoundedRectangleGeometryProps
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