Gnome::Gsk4::RoundedClipNode
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
A render node applying a rounded rectangle clip to its single child.
#------------------------------------------------------------------------------- #--[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-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 \)
$child; The node to draw.
$clip; The clip to apply
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
Methods
#-------------------------------------------------------------------------------
get-child
Gets the child node that is getting clipped by the given $node.
method get-child (--> N-Object )
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 )
Return value; a rounded rectangle.