FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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).

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<ScaleTransform3D>
    

    Returns a strong reference to this object.

    Source

    scale_x_property

    fn scale_x_property() -> &'static StyledProperty<f64>
    

    Source

    scale_y_property

    fn scale_y_property() -> &'static StyledProperty<f64>
    

    Source

    scale_z_property

    fn scale_z_property() -> &'static StyledProperty<f64>
    

    Source

    center_x_property

    fn center_x_property() -> &'static StyledProperty<f64>
    

    Source

    center_y_property

    fn center_y_property() -> &'static StyledProperty<f64>
    

    Source

    center_z_property

    fn center_z_property() -> &'static StyledProperty<f64>
    

    Source

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    A scale by one.

    Source

    with_scale

    fn with_scale(scale: Vector3D) -> Ref<Self>
    

    A scale by the components of scale about the origin.

    Source

    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.

    Source

    with_scale_and_center

    fn with_scale_and_center(scale: Vector3D, center: Point3D) -> Ref<Self>
    

    A scale by the components of scale about center.

    Source

    scale_x

    fn scale_x(self: &Self) -> f64
    

    The scale along the x axis.

    Source

    set_scale_x

    fn set_scale_x(self: &Self, value: f64)
    

    Source

    scale_y

    fn scale_y(self: &Self) -> f64
    

    The scale along the y axis.

    Source

    set_scale_y

    fn set_scale_y(self: &Self, value: f64)
    

    Source

    scale_z

    fn scale_z(self: &Self) -> f64
    

    The scale along the z axis.

    Source

    set_scale_z

    fn set_scale_z(self: &Self, value: f64)
    

    Source

    center_x

    fn center_x(self: &Self) -> f64
    

    The x coordinate of the center of the scale.

    Source

    set_center_x

    fn set_center_x(self: &Self, value: f64)
    

    Source

    center_y

    fn center_y(self: &Self) -> f64
    

    The y coordinate of the center of the scale.

    Source

    set_center_y

    fn set_center_y(self: &Self, value: f64)
    

    Source

    center_z

    fn center_z(self: &Self) -> f64
    

    The z coordinate of the center of the scale.

    Source

    set_center_z

    fn set_center_z(self: &Self, value: f64)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.