LayoutTransformControl
struct · ferroui-controls · v0.5.0
struct LayoutTransformControl
Control that implements support for transformations as if applied by a layout transform.
Members
TYPEto_reflayout_transform_propertyuse_render_transform_propertyconstructnewlayout_transformset_layout_transformuse_render_transformset_use_render_transformtransform_root
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<LayoutTransformControl>
Returns a strong reference to this object.
layout_transform_property
fn layout_transform_property() -> &'static StyledProperty<Option<Rc<dyn ITransform>>>
Defines the LayoutTransform property.
use_render_transform_property
fn use_render_transform_property() -> &'static StyledProperty<bool>
Defines the UseRenderTransform property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
layout_transform
fn layout_transform(self: &Self) -> Option<Rc<dyn ITransform>>
A graphics transformation that should apply to this element when layout is performed.
set_layout_transform
fn set_layout_transform(self: &Self, value: Option<Rc<dyn ITransform>>)
use_render_transform
fn use_render_transform(self: &Self) -> bool
Whether the layout transform follows the render transform of the control.
set_use_render_transform
fn set_use_render_transform(self: &Self, value: bool)
transform_root
fn transform_root(self: &Self) -> Option<Ref<Control>>
The control the transformation is applied to: the child.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<LayoutTransformControl>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplInteractiveImplInputElementImplControlImplFerroObjectImplVisualImplLayoutableImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.