gsk.texture_scale_node

Module for [TextureScaleNode] class

Types 1

classTextureScaleNode : gsk.render_node.RenderNode

A render node for a [gdk.texture.Texture].

Methods
gsk.types.ScalingFilter getFilter()Retrieves the [gsk.types.ScalingFilter] used when creating this [gsk.render_node.RenderNode]. Returns: the [gsk.types.ScalingFilter]
gdk.texture.Texture getTexture()Retrieves the [gdk.texture.Texture] used when creating this [gsk.render_node.RenderNode]. Returns: the [gdk.texture.Texture]
Constructors
this(void * ptr, Flag!"Take" take)
this(gdk.texture.Texture texture, graphene.rect.Rect bounds, gsk.types.ScalingFilter filter)Creates a node that scales the texture to the size given by the bounds using the filter and then places it at the bounds' position.