RenderingContext is a helper type representing any of the following rendering contexts CanvasRenderingContext2D, WebGLRenderingContext or WebGL2RenderingContext (which inherits from WebGLRenderingContext).

This is a helper type to simplify the specification, it isn't an interface and there are no objects implementing it.


Specification Status Comment
WHATWG HTML Living Standard
The definition of 'RenderingContext' in that specification.
Living Standard Initial definition.



© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.

API Canvas Helper Reference Référence