This page is Ready to Use

Notice: 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.

canvas

Summary

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

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

Canvas

Attributions