pub struct ServerCompositionRadialGradientBrushProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionRadialGradientBrush.
Implementations§
Source§impl ServerCompositionRadialGradientBrushProps
impl ServerCompositionRadialGradientBrushProps
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates the properties with every field at the default of its type; the values of the UI thread arrive with the first batch.
Sourcepub fn find_props(&self, type_id: TypeId) -> Option<&dyn Any>
pub fn find_props(&self, type_id: TypeId) -> Option<&dyn Any>
This block or the block of a base class, by type: what
IServerObject::get_props of the embedding class returns.
Sourcepub fn id_of_center_property() -> &'static CompositionPropertyOf<RelativePoint>
pub fn id_of_center_property() -> &'static CompositionPropertyOf<RelativePoint>
The composition property of Center.
Sourcepub fn center(&self) -> RelativePoint
pub fn center(&self) -> RelativePoint
Center (animated).
pub fn set_center( &self, host: &dyn ServerCompositionRadialGradientBrushHooks, value: RelativePoint, )
Sourcepub fn id_of_gradient_origin_property() -> &'static CompositionPropertyOf<RelativePoint>
pub fn id_of_gradient_origin_property() -> &'static CompositionPropertyOf<RelativePoint>
The composition property of GradientOrigin.
Sourcepub fn gradient_origin(&self) -> RelativePoint
pub fn gradient_origin(&self) -> RelativePoint
GradientOrigin (animated).
pub fn set_gradient_origin( &self, host: &dyn ServerCompositionRadialGradientBrushHooks, value: RelativePoint, )
Sourcepub fn id_of_radius_x_property() -> &'static CompositionPropertyOf<RelativeScalar>
pub fn id_of_radius_x_property() -> &'static CompositionPropertyOf<RelativeScalar>
The composition property of RadiusX.
Sourcepub fn radius_x(&self) -> RelativeScalar
pub fn radius_x(&self) -> RelativeScalar
RadiusX (animated).
pub fn set_radius_x( &self, host: &dyn ServerCompositionRadialGradientBrushHooks, value: RelativeScalar, )
Sourcepub fn id_of_radius_y_property() -> &'static CompositionPropertyOf<RelativeScalar>
pub fn id_of_radius_y_property() -> &'static CompositionPropertyOf<RelativeScalar>
The composition property of RadiusY.
Sourcepub fn radius_y(&self) -> RelativeScalar
pub fn radius_y(&self) -> RelativeScalar
RadiusY (animated).
pub fn set_radius_y( &self, host: &dyn ServerCompositionRadialGradientBrushHooks, value: RelativeScalar, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionRadialGradientBrushHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionRadialGradientBrushHooks, reader: &mut BatchStreamReader<'_>, committed_at: Duration, )
Reads the changes of the object: the base class first, then the changed-fields mask and the changed members of this class.
Sourcepub fn get_composition_property(
name: &str,
) -> Option<&'static CompositionProperty>
pub fn get_composition_property( name: &str, ) -> Option<&'static CompositionProperty>
The composition property with the given name, among the properties of this class and of its generated bases that have a variant form.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ServerCompositionRadialGradientBrushProps
impl !RefUnwindSafe for ServerCompositionRadialGradientBrushProps
impl !Sync for ServerCompositionRadialGradientBrushProps
impl Send for ServerCompositionRadialGradientBrushProps
impl Unpin for ServerCompositionRadialGradientBrushProps
impl UnsafeUnpin for ServerCompositionRadialGradientBrushProps
impl UnwindSafe for ServerCompositionRadialGradientBrushProps
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