About my projects, examples and tutorials
Gnome::Gsk4::TextureNode

Gnome::Gsk4::TextureNode

Description§

A render node for a Gnome::Gdk4::Texture.

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-texturenode§

Creates a Gnome::Gsk4::RenderNode that will render the given $texture into the area given by $bounds.

method new-texturenode ( N-Object() $texture, N-Object $bounds --> Gnome::Gsk4::TextureNode \)
Code
  • $texture; the Gnome::Gdk4::Texture.
  • $bounds; the rectangle to render the texture into

Methods§

get-texture§

Retrieves the Gnome::Gdk4::Texture used when creating this Gnome::Gsk4::RenderNode.

method get-texture (--> N-Object )
Code

Return value; the Gnome::Gdk4::Texture.