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 IRC (such as one of these permanent autoconfirmed members).

CanvasContexts

From WHATWG Wiki
Jump to: navigation, search

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