FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScaleTransform

    struct · ferroui-base · v0.5.0

    struct ScaleTransform
    

    Scale a visual.

    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<ScaleTransform>
    

    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

    construct

    fn construct() -> Self
    

    Creates the class data.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    with_scale

    fn with_scale(scale_x: f64, scale_y: f64) -> Ref<Self>
    

    Source

    scale_x

    fn scale_x(self: &Self) -> f64
    

    The horizontal scale.

    Source

    set_scale_x

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

    Source

    scale_y

    fn scale_y(self: &Self) -> f64
    

    The vertical scale.

    Source

    set_scale_y

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

    Source

    Trait implementations

    Availability

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