{"json_modified": "2016-07-02T13:03:40.927900", "uuid": "3ee29ec7-9e1a-46e0-b929-c71ef38c63c2", "title": "CanvasRenderingContext2D.getImageData()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/getImageData", "tags": ["Canvas", "API", "Reference", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "99d4256d-d3b2-43d0-af00-7051e1de126b", "title": "CanvasRenderingContext2D.getImageData()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/getImageData", "tags": [], "summary": "CanvasRenderingContext2D
.getImageData()
\u8fd4\u56de\u4e00\u4e2aImageData
\u5bf9\u8c61\uff0c\u7528\u6765\u63cf\u8ff0canvas\u533a\u57df\u9690\u542b\u7684\u50cf\u7d20\u6570\u636e\uff0c\u8fd9\u4e2a\u533a\u57df\u901a\u8fc7\u77e9\u5f62\u8868\u793a\uff0c\u8d77\u59cb\u70b9\u4e3a(sx, sy)\u3001\u5bbd\u4e3asw\u3001\u9ad8\u4e3ash\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T01:06:06", "review_tags": []}], "modified": "2016-07-02T13:03:40", "label": "CanvasRenderingContext2D.getImageData()", "localization_tags": [], "locale": "en-US", "id": 130669, "last_edit": "2015-11-13T03:53:11", "summary": "The CanvasRenderingContext2D
.getImageData()
method of the Canvas 2D API returns an ImageData
object representing the underlying pixel data for the area of the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh height.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Errors_thrown", "title": "Errors thrown"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_getImageData_method", "title": "Using the "}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/getImageData", "review_tags": []}