Gnome::Gsk4::ColorNode
Table of Contents
Description§
A render node for a solid color.
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-colornode§
Creates a Gnome::Gsk4::RenderNode that will render the color specified by $rgba into the area given by $bounds.
method new-colornode ( N-Object $rgba, N-Object $bounds --> Gnome::Gsk4::ColorNode \)
Code
- $rgba; a Gnome::Gdk4::N-RGBA specifying a color
- $bounds; the rectangle to render the color into
Methods§
get-color§
Retrieves the color of the given $node.
method get-color (--> N-Object )
Code
Return value; the color of the node.
About my projects, examples and tutorials