Gnome::Gsk4::TransformNode
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
A render node applying a Gnome::Gsk4::N-Transform to its single child node.
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
Class initialization
new
:native-object
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
#-------------------------------------------------------------------------------
new-transformnode
Creates a Gnome::Gsk4::RenderNode that will transform the given $child
with the given $transform.
method new-transformnode ( N-Object() $child, N-Object $transform --> Gnome::Gsk4::TransformNode \)
$child; The node to transform.
$transform; The transform to apply
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
Methods
#-------------------------------------------------------------------------------
get-child
Gets the child node that is getting transformed by the given $node.
method get-child (--> N-Object )
Return value; The child that is getting transformed.
#-------------------------------------------------------------------------------
get-transform
Retrieves the Gnome::Gsk4::N-Transform used by the $node.
method get-transform (--> N-Object )
Return value; a Gnome::Gsk4::N-Transform.