class Gsk::TextureNode
- Gsk::TextureNode
- Gsk::RenderNode
- Reference
- Object
Overview
A render node for a Gdk::Texture
.
Defined in:
lib/gi-crystal/src/auto/gsk-4.0/texture_node.crConstructors
-
.new(texture : Gdk::Texture, bounds : Graphene::Rect) : self
Creates a
Gsk::RenderNode
that will render the given @texture into the area given by @bounds. -
.new
Initialize a new
TextureNode
.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#texture : Gdk::Texture
Retrieves the
Gdk::Texture
used when creating thisGsk::RenderNode
.