JavaScripture
Contribute via GitHub Feedback

CanvasRenderingContext : Object

The object used to render into a Canvas element. There are currently 3 types of contexts, CanvasRenderingContext2D, ImageBitmapRenderingContext, and WebGLRenderingContext. You can retrieve these contexts for the canvas by passing in '2d', 'bitmaprenderer', or 'webgl' into canvas.getContext().