The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.


< apis
Jump to: navigation, search


This article is Ready to Use.

W3C Candidate Recommendation


Allows applications to render pixel-based graphics within a canvas element using a two-dimensional graphics context.

API Name Summary
CanvasGradient An opaque object of the canvas API.
CanvasPattern An opaque object of the canvas API. See Notes.
CanvasPixelArray Specifies each pixel within a canvas's rectangular selection, via the ImageData object's data property. The array uses four elements to represent each pixel's red, green, blue, and alpha channels. See Notes.
CanvasRenderingContext2D The 2D rendering context for the drawing surface of a <canvas> element.
ImageData The ImageData object of the canvas API.
TextMetrics The TextMetrics object of the canvas API. TextMetrics retrieves numeric informations like the width of a text that is drawn onto the canvas with the current font style.

See also

Related articles



This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: Windows Internet Explorer API reference Article