FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ITransform

    trait · ferroui-base · v0.5.0

    trait ITransform: 'static
    

    Represents a transform on a visual or brush.

    Implemented by the immutable transform types and, through an adapter, by every class deriving from Transform: a handle of such a class converts to Rc<dyn ITransform> with into().

    View source

    Members

    value

    fn value(self: &Self) -> Matrix
    

    The transform's matrix.

    Source

    as_any

    fn as_any(self: &Self) -> &dyn Any
    

    The implementing value, for downcasts to immutable transform types.

    Source

    as_object

    fn as_object(self: &Self) -> Option<&FerroObject>
    

    The object behind the transform when it is a mutable Transform.

    Source

    as_mutable_transform

    fn as_mutable_transform(self: &Self) -> Option<&dyn IMutableTransform>
    

    The transform viewed as IMutableTransform, when it is one.

    Source

    Trait implementations

    Availability

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