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
Invalidates and renders the canvas
Outputs the image as an data URL
Generated using TypeDoc
Clips the canvas to a rectangle