Gnome::Gsk4::BlendNode
Table of Contents
Description§
A render node applying a blending function between its two child nodes.
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-blendnode§
Creates a Gnome::Gsk4::RenderNode that will use $blend-mode to blend the $top node onto the $bottom node.
method new-blendnode ( N-Object() $bottom, N-Object() $top, GskBlendMode $blend-mode --> Gnome::Gsk4::BlendNode \)
Code
- $bottom; The bottom node to be drawn.
- $top; The node to be blended onto the $bottom node.
- $blend-mode; The blend mode to use.
Methods§
get-blend-mode§
Retrieves the blend mode used by $node.
method get-blend-mode (--> GskBlendMode )
Code
Return value; the blend mode.
get-bottom-child§
Retrieves the bottom Gnome::Gsk4::RenderNode child of the $node.
method get-bottom-child (--> N-Object )
Code
Return value; the bottom child node.
get-top-child§
Retrieves the top Gnome::Gsk4::RenderNode child of the $node.
method get-top-child (--> N-Object )
Code
Return value; the top child node.
About my projects, examples and tutorials