Gnome::Gsk4::RoundedClipNode
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Description
A render node applying a rounded rectangle clip to its single child.
=end rakudoc
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
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! )
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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
=end rakudoc
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
=begin rakudoc
Methods =end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
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.
=end rakudoc
#------------------------------------------------------------------------------- =begin rakudoc
get-clip
Retrieves the rounded rectangle used to clip the contents of the $node.
method get-clip (--> N-Object )
Return value; a rounded rectangle.
=end rakudoc