About my projects, examples and tutorials
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 an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )
Code

new-blurnode§

Creates a render node that blurs the child.

method new-blurnode ( N-Object() $child, Num() $radius --> Gnome::Gsk4::BlurNode \)
Code
  • $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 )
Code

Return value; the blurred child node.

get-radius§

Retrieves the blur radius of the $node.

method get-radius (--> Num )
Code

Return value; the blur radius.