A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

CanvasContexts: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(Updated link to WebGL spec)
No edit summary
 
Line 1: Line 1:
{{obsolete|spec=[https://html.spec.whatwg.org/multipage/canvas.html#dom-canvas-getcontext <code>getContext()</code> in the HTML Standard]}}
This page lists the defined contexts usable with the '''HTMLCanvasElement.getContext()''' API in the [http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canvas-getcontext W3C HTML5 spec].
This page lists the defined contexts usable with the '''HTMLCanvasElement.getContext()''' API in the [http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canvas-getcontext W3C HTML5 spec].



Latest revision as of 17:43, 24 January 2018

This document is obsolete.

For the current specification, see: getContext() in the HTML Standard


This page lists the defined contexts usable with the HTMLCanvasElement.getContext() API in the W3C HTML5 spec.

This is no longer used by the WHATWG HTML spec.

2d
Specification:
http://dev.w3.org/html5/2dcontext/ (W3C spec)
http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#canvas-context-2d (WHATWG spec)
Compatible with:
none
webgl
Specification:
http://www.khronos.org/registry/webgl/specs/latest/
Compatible with:
none