TextureNode
- class TextureNode(*args, **kwargs)
Superclasses: RenderNode
- Constructors:
TextureNode(**properties)
new(texture:Gdk.Texture, bounds:Graphene.Rect) -> Gsk.TextureNode
Constructors
- class TextureNode
- classmethod new(texture: Texture, bounds: Rect) TextureNode
Creates a
GskRenderNode
that will render the giventexture
into the area given bybounds
.Note that GSK applies linear filtering when textures are scaled and transformed. See
TextureScaleNode
for a way to influence filtering.- Parameters:
texture – the
GdkTexture
bounds – the rectangle to render the texture into