Gnome::Gsk4::OpacityNode
Table of Contents
Description§
A render node controlling the opacity of its single child node.
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-opacitynode§
Creates a Gnome::Gsk4::RenderNode that will drawn the $child with reduced $opacity.
method new-opacitynode ( N-Object() $child, Num() $opacity --> Gnome::Gsk4::OpacityNode \)
Code
- $child; The node to draw.
- $opacity; The opacity to apply.
Methods§
get-child§
Gets the child node that is getting opacityed by the given $node.
method get-child (--> N-Object )
Code
Return value; The child that is getting opacityed.
get-opacity§
Gets the transparency factor for an opacity node.
method get-opacity (--> Num )
Code
Return value; the opacity factor.
About my projects, examples and tutorials