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().
Members
value
fn value(self: &Self) -> Matrix
The transform's matrix.
as_any
fn as_any(self: &Self) -> &dyn Any
The implementing value, for downcasts to immutable transform types.
as_object
fn as_object(self: &Self) -> Option<&FerroObject>
The object behind the transform when it is a mutable Transform.
as_mutable_transform
fn as_mutable_transform(self: &Self) -> Option<&dyn IMutableTransform>
The transform viewed as IMutableTransform, when it is one.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.