Gnome::Gsk4::RoundedClipNode
Table of Contents
Description§
A render node applying a rounded rectangle clip to its single child.
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-roundedclipnode§
Creates a Gnome::Gsk4::RenderNode that will clip the $child to the area given by $clip.
method new-roundedclipnode ( N-Object() $child, N-Object $clip --> Gnome::Gsk4::RoundedClipNode \)
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 rounded rectangle used to clip the contents of the $node.
method get-clip (--> N-Object )
Code
Return value; a rounded rectangle.
About my projects, examples and tutorials