About all my projects
Gnome::Gsk4::BlurNode

Gnome::Gsk4::BlurNode

Description

A render node applying a blur effect to its single child.

Class initialization

new

:native-object

Create an object using a native object from 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

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.