About all my projects
Gnome::Gsk4::TransformNode

Gnome::Gsk4::TransformNode

Description

A render node applying a Gnome::Gsk4::N-Transform to its single child node.

Class initialization

new

:native-object

Create an object using a native object from 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

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.