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
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page lists the defined contexts usable with the '''HTMLCanvasElement.getContext()''' API in HTML ([http://dev.w3.org/html5/spec/the-canvas-element.html#dom-canvas-getcontext W3C spec][http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#dom-canvas-getcontext WHATWG spec]).
{{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 is no longer used by the [http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#dom-canvas-getcontext WHATWG HTML spec].


<dl>
<dl>
Line 6: Line 10:
<dl>
<dl>
<dt>Specification: <dd> http://dev.w3.org/html5/2dcontext/ (W3C spec) <dd> http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#canvas-context-2d (WHATWG spec)
<dt>Specification: <dd> http://dev.w3.org/html5/2dcontext/ (W3C spec) <dd> http://www.whatwg.org/specs/web-apps/current-work/complete/the-canvas-element.html#canvas-context-2d (WHATWG spec)
<dt>Compatible with: <dd> none
</dl>
</dl>
<dt> <code>webgl</code>
<dt> <code>webgl</code>
<dd>
<dd>
<dl>
<dl>
<dt>Specification: <dd> https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html
<dt>Specification: <dd> http://www.khronos.org/registry/webgl/specs/latest/
<dt>Compatible with: <dd> none
</dl>
</dl>
</dl>
</dl>


[[Category:Registries]]
[[Category:Registries]]

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