pub struct ServerCompositionLinearGradientBrushProps { /* private fields */ }Expand description
The server-side properties of ServerCompositionLinearGradientBrush.
Implementations§
Source§impl ServerCompositionLinearGradientBrushProps
impl ServerCompositionLinearGradientBrushProps
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_start_point_property() -> &'static CompositionPropertyOf<RelativePoint>
pub fn id_of_start_point_property() -> &'static CompositionPropertyOf<RelativePoint>
The composition property of StartPoint.
Sourcepub fn start_point(&self) -> RelativePoint
pub fn start_point(&self) -> RelativePoint
StartPoint (animated).
pub fn set_start_point( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: RelativePoint, )
Sourcepub fn id_of_end_point_property() -> &'static CompositionPropertyOf<RelativePoint>
pub fn id_of_end_point_property() -> &'static CompositionPropertyOf<RelativePoint>
The composition property of EndPoint.
Sourcepub fn end_point(&self) -> RelativePoint
pub fn end_point(&self) -> RelativePoint
EndPoint (animated).
pub fn set_end_point( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: RelativePoint, )
Sourcepub fn id_of_anchor_point_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_anchor_point_property() -> &'static CompositionPropertyOf<Vector>
The composition property of AnchorPoint.
Sourcepub fn anchor_point(&self) -> Vector
pub fn anchor_point(&self) -> Vector
AnchorPoint (animated).
pub fn set_anchor_point( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: Vector, )
Sourcepub fn id_of_center_point_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_center_point_property() -> &'static CompositionPropertyOf<Vector>
The composition property of CenterPoint.
Sourcepub fn center_point(&self) -> Vector
pub fn center_point(&self) -> Vector
CenterPoint (animated).
pub fn set_center_point( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: Vector, )
Sourcepub fn id_of_offset_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_offset_property() -> &'static CompositionPropertyOf<Vector>
The composition property of Offset.
pub fn set_offset( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: Vector, )
Sourcepub fn id_of_rotation_angle_property() -> &'static CompositionPropertyOf<f32>
pub fn id_of_rotation_angle_property() -> &'static CompositionPropertyOf<f32>
The composition property of RotationAngle.
Sourcepub fn rotation_angle(&self) -> f32
pub fn rotation_angle(&self) -> f32
RotationAngle (animated).
pub fn set_rotation_angle( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: f32, )
Sourcepub fn id_of_scale_property() -> &'static CompositionPropertyOf<Vector>
pub fn id_of_scale_property() -> &'static CompositionPropertyOf<Vector>
The composition property of Scale.
pub fn set_scale( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: Vector, )
Sourcepub fn id_of_transform_matrix_property() -> &'static CompositionPropertyOf<Matrix>
pub fn id_of_transform_matrix_property() -> &'static CompositionPropertyOf<Matrix>
The composition property of TransformMatrix.
Sourcepub fn transform_matrix(&self) -> Matrix
pub fn transform_matrix(&self) -> Matrix
TransformMatrix (animated).
pub fn set_transform_matrix( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, value: Matrix, )
Sourcepub fn deserialize_changes_core(
&self,
host: &dyn ServerCompositionLinearGradientBrushHooks,
reader: &mut BatchStreamReader<'_>,
committed_at: Duration,
)
pub fn deserialize_changes_core( &self, host: &dyn ServerCompositionLinearGradientBrushHooks, 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 ServerCompositionLinearGradientBrushProps
impl !RefUnwindSafe for ServerCompositionLinearGradientBrushProps
impl !Sync for ServerCompositionLinearGradientBrushProps
impl Send for ServerCompositionLinearGradientBrushProps
impl Unpin for ServerCompositionLinearGradientBrushProps
impl UnsafeUnpin for ServerCompositionLinearGradientBrushProps
impl UnwindSafe for ServerCompositionLinearGradientBrushProps
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