Returns the current width of the canvas
Clips the canvas to a rectangle
Draws a rectangle within the given bounds
Draws a simple line from four coordinates
Draws a text
The text to draw
The text X position
The text Y position
The font to use
The maximum width of the text
The horizontal alignment
The vertical alignment
Converts global coordinates to element based coordinates
Invalidates the canvas by emptying it
Measures the width of a text
The text to measure
The font to use
Move the offset point of the canvas
Pops the canvas stack
Pushes the canvas stack
Renders the canvas
Renders a grid in the background
Invalidates and renders the canvas
Resizes the canvas
The new width of the canvas
The new height of the canvas
Generated using TypeDoc
Returns the current height of the canvas