The built-in 2D rendering context for the drawing surface of a external:canvas.
Dashed line polyfill for the canvas. Note that dashed lines are expensive operations when not supported natively! @see CanvasRenderingContext2D.stxLine
<static> CanvasRenderingContext2D#stxCircle(x, y, radius, filled)
Add native circle drawing to the canvas
Name Type Description
X position of center of circle
Y position of center of circle
Radius of circle
If true then circle will be filled
Convenience function for rendering lines of various types on the canvas. Pattern should be an array that contains the number of pixels on and then the number of pixels off. For instance [1,1] would create a dotted pattern by turning one pixel on and then one pixel off repeatedly.