ScaleTransform3D
struct · ferroui-media3d · v0.5.0
struct ScaleTransform3D
WPF's ScaleTransform3D: a scale by ScaleX, ScaleY and ScaleZ about the center
(CenterX, CenterY, CenterZ).
Members
TYPEto_refscale_x_propertyscale_y_propertyscale_z_propertycenter_x_propertycenter_y_propertycenter_z_propertyconstructnewwith_scalewith_scale_xyzwith_scale_and_centerscale_xset_scale_xscale_yset_scale_yscale_zset_scale_zcenter_xset_center_xcenter_yset_center_ycenter_zset_center_z
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ScaleTransform3D>
Returns a strong reference to this object.
scale_x_property
fn scale_x_property() -> &'static StyledProperty<f64>
scale_y_property
fn scale_y_property() -> &'static StyledProperty<f64>
scale_z_property
fn scale_z_property() -> &'static StyledProperty<f64>
center_x_property
fn center_x_property() -> &'static StyledProperty<f64>
center_y_property
fn center_y_property() -> &'static StyledProperty<f64>
center_z_property
fn center_z_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
A scale by one.
with_scale
fn with_scale(scale: Vector3D) -> Ref<Self>
A scale by the components of scale about the origin.
with_scale_xyz
fn with_scale_xyz(scale_x: f64, scale_y: f64, scale_z: f64) -> Ref<Self>
A scale by the three factors about the origin.
with_scale_and_center
fn with_scale_and_center(scale: Vector3D, center: Point3D) -> Ref<Self>
A scale by the components of scale about center.
scale_x
fn scale_x(self: &Self) -> f64
The scale along the x axis.
set_scale_x
fn set_scale_x(self: &Self, value: f64)
scale_y
fn scale_y(self: &Self) -> f64
The scale along the y axis.
set_scale_y
fn set_scale_y(self: &Self, value: f64)
scale_z
fn scale_z(self: &Self) -> f64
The scale along the z axis.
set_scale_z
fn set_scale_z(self: &Self, value: f64)
center_x
fn center_x(self: &Self) -> f64
The x coordinate of the center of the scale.
set_center_x
fn set_center_x(self: &Self, value: f64)
center_y
fn center_y(self: &Self) -> f64
The y coordinate of the center of the scale.
set_center_y
fn set_center_y(self: &Self, value: f64)
center_z
fn center_z(self: &Self) -> f64
The z coordinate of the center of the scale.
set_center_z
fn set_center_z(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTransform3DImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<ScaleTransform3D>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransform3DImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.