ScaleTransform
struct · ferroui-base · v0.5.0
struct ScaleTransform
Scale a visual.
Members
TYPEto_refscale_x_propertyscale_y_propertyconstructnewwith_scalescale_xset_scale_xscale_yset_scale_y
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ScaleTransform>
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>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
with_scale
fn with_scale(scale_x: f64, scale_y: f64) -> Ref<Self>
scale_x
fn scale_x(self: &Self) -> f64
The horizontal scale.
set_scale_x
fn set_scale_x(self: &Self, value: f64)
scale_y
fn scale_y(self: &Self) -> f64
The vertical scale.
set_scale_y
fn set_scale_y(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTransformImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<ScaleTransform>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransformImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.