Canvas
The canvas management object.
Functions
Draws a basis spline on the canvas.
Draws a Catmull-Rom spline on the canvas.
Draws a cubic bezier spline on the canvas.
Draws a cylinder's wires in 3D space.
Draws a cylinder in 3D space with differing start and end points between bases.
Draws a 3D bounding box on the canvas.
Draws a 3D mesh on the canvas with identity transform (at origin).
Draws multiple instances of a 3D mesh on the canvas.
Draws a 3D mesh on the canvas.
Draws a 3D mesh on the canvas with position, rotation, and scale.
Draws a 3D model on the canvas.
Draws a 3D model on the canvas with extended parameters.
Draws the wires of a 3D model on the canvas.
Draws the wires of a 3D model on the canvas with extended parameters.
Draws the given sprite to the canvas at its current position or at the specified x, y, and z coordinates.
Draws text on the given canvas.
Draws a texture on the canvas at the specified position with an optional tint color.
Draws a texture on the canvas at the specified position with rotation, scale, and optional tint color.
Draws a texture on the canvas at the specified position with rotation, scale, and an optional tint color.
Draws a texture on the canvas at the specified position.
Draws an arc on the canvas as a filled sector.
Draws a cylinder in 3D space.
Draws a cylinder in 3D space with differing start and end points between bases.
Draws a filled rectangle on the canvas.
Draws a rotated filled rectangle on the canvas.
Draws a filled rectangle with a gradient on the canvas.
Draws a filled rectangle with a four-corner gradient on the canvas.
Draws a filled ring on the canvas, in between two radii.
Draws a filled rounded rectangle on the canvas.
Draws a line on the canvas.
Draws a line on the canvas using triangles and quads.
Draws a linear spline on the canvas.
Draws a polygon outline on the canvas.
Draws a quadratic bezier spline on the canvas.
Draws a rectangle outline on the canvas.
Draws a rectangle outline on the canvas with specified line thickness.
Draws a rounded rectangle outline on the canvas.
Sets the background color of the canvas.
Sets the line spacing for text rendering on the given canvas.
Starts using the given shader for 3D drawing on the canvas.
Stops using the current shader for 3D drawing on the canvas.
Draws a triangle fan on the canvas.
Draws a triangle strip on the canvas.
Draws a triangle strip in 3D space.