draw Texture
Draws a texture on the canvas at the specified position with an optional tint color.
Parameters
The texture to draw.
The X coordinate where the texture will be drawn.
The X coordinate where the texture will be drawn.
The color to tint the texture. Default is white (no tint).
Draws a texture on the canvas at the specified position with an optional tint color.
Parameters
The texture to draw.
The X coordinate where the texture will be drawn.
The Y coordinate where the texture will be drawn.
The color to tint the texture. Default is white (no tint).
Draws a texture on the canvas at the specified position with rotation, scale, and optional tint color.
Parameters
The texture to draw.
The X coordinate where the texture will be drawn.
The Y coordinate where the texture will be drawn.
The rotation of the sprite in degrees.
The scale of the sprite. Default is 1.0 (no scale).
The color to tint the texture. Default is white (no tint).
Draws a texture on the canvas at the specified position with rotation, scale, and an optional tint color.
Parameters
The texture to draw.
The X coordinate where the texture will be drawn.
The Y coordinate where the texture will be drawn.
The rotation angle in degrees.
The scale factor. Default is 1.0f (no scaling).
The color to tint the texture. Default is white (no tint).
Draws a texture on the canvas at the specified position.
Parameters
The texture to draw.
The X coordinate where the texture will be drawn.
The Y coordinate where the texture will be drawn.
The rotation of the sprite in degrees.
The X delta of the origin where transformations are calculated, relative to x.
The Y delta of the origin where transformations are calcualted, relative to y.
The scale of the sprite. Default is 1.0 (no scale).
The color to tint the texture. Default is white (no tint).