Gnome::Gsk4::BlurNode
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
A render node applying a blur effect 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-blurnode
Creates a render node that blurs the child.
method new-blurnode ( N-Object() $child, Num() $radius --> Gnome::Gsk4::BlurNode \)
$child; the child node to blur.
$radius; the blur radius. Must be positive.
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
Methods
#-------------------------------------------------------------------------------
get-child
Retrieves the child Gnome::Gsk4::RenderNode of the blur $node.
method get-child (--> N-Object )
Return value; the blurred child node.
#-------------------------------------------------------------------------------
get-radius
Retrieves the blur radius of the $node.
method get-radius (--> Num )
Return value; the blur radius.