Gnome::Gsk4::RepeatNode
Description
A render node repeating 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-repeatnode
Creates a Gnome::Gsk4::RenderNode that will repeat the drawing of $child
across the given $bounds
.
method new-repeatnode ( N-Object $bounds, N-Object() $child, N-Object $child-bounds --> Gnome::Gsk4::RepeatNode \)
$bounds; The bounds of the area to be painted
$child; The child to repeat.
$child-bounds; The area of the child to repeat or undefined to use the child's bounds
Methods
get-child
Retrieves the child of $node
.
method get-child (--> N-Object )
Return value; a Gnome::Gsk4::RenderNode.
get-child-bounds
Retrieves the bounding rectangle of the child of $node
.
method get-child-bounds (--> N-Object )
Return value; a bounding rectangle.