Gnome::Gsk4::ShadowNode
Table of Contents
Description§
A render node drawing one or more shadows behind 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-shadownode§
Creates a Gnome::Gsk4::RenderNode that will draw a $child with the given $shadows below it.
method new-shadownode ( N-Object() $child, N-Object $shadows, Int() $n-shadows --> Gnome::Gsk4::ShadowNode \)
Code
- $child; The node to draw.
- $shadows; The shadows to apply
- $n-shadows; number of entries in the $shadows array.
Methods§
get-child§
Retrieves the child Gnome::Gsk4::RenderNode of the shadow $node.
method get-child (--> N-Object )
Code
Return value; the child render node.
get-n-shadows§
Retrieves the number of shadows in the $node.
method get-n-shadows (--> Int )
Code
Return value; the number of shadows..
get-shadow§
Retrieves the shadow data at the given index $i.
method get-shadow ( Int() $i --> N-Object )
Code
- $i; the given index.
Return value; the shadow data.
About my projects, examples and tutorials