Gnome::Gsk4::ClipNode
Table of Contents
Description§
A render node applying a rectangular clip to its single child node.
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! )
Code
new-clipnode§
Creates a Gnome::Gsk4::RenderNode that will clip the $child to the area given by $clip.
method new-clipnode ( N-Object() $child, N-Object $clip --> Gnome::Gsk4::ClipNode \)
Code
- $child; The node to draw.
- $clip; The clip to apply
Methods§
get-child§
Gets the child node that is getting clipped by the given $node.
method get-child (--> N-Object )
Code
Return value; The child that is getting clipped.
get-clip§
Retrieves the clip rectangle for $node.
method get-clip (--> N-Object )
Code
Return value; a clip rectangle.
About my projects, examples and tutorials