FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutTransformControl

    struct · ferroui-controls · v0.5.0

    struct LayoutTransformControl
    

    Control that implements support for transformations as if applied by a layout transform.

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

    Returns a strong reference to this object.

    Source

    layout_transform_property

    fn layout_transform_property() -> &'static StyledProperty<Option<Rc<dyn ITransform>>>
    

    Defines the LayoutTransform property.

    Source

    use_render_transform_property

    fn use_render_transform_property() -> &'static StyledProperty<bool>
    

    Defines the UseRenderTransform property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    layout_transform

    fn layout_transform(self: &Self) -> Option<Rc<dyn ITransform>>
    

    A graphics transformation that should apply to this element when layout is performed.

    Source

    set_layout_transform

    fn set_layout_transform(self: &Self, value: Option<Rc<dyn ITransform>>)
    

    Source

    use_render_transform

    fn use_render_transform(self: &Self) -> bool
    

    Whether the layout transform follows the render transform of the control.

    Source

    set_use_render_transform

    fn set_use_render_transform(self: &Self, value: bool)
    

    Source

    transform_root

    fn transform_root(self: &Self) -> Option<Ref<Control>>
    

    The control the transformation is applied to: the child.

    Source

    Trait implementations

    Availability

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