/

HTML / CSS / JavaScript Tutorial

JavaScript canvas2d object property: data

[this page | pdf | back links]

The data property of the JavaScript DOM object returned by the getContext("2d") method applied to the HTML <canvas> element returns an object containing image data for a specific ImageData object.

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile