JavaScripture
Contribute via GitHub Feedback

JavaScript CanvasRenderingContext : Object

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