{"json_modified": "2016-10-23T06:26:22.197775", "uuid": "01f0f99e-5a0e-49e0-a9d4-f4c0a1375253", "title": "CanvasRenderingContext2D.clearRect()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/clearRect", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "357b5ec5-d1d3-4464-8190-c72a221d8734", "title": "CanvasRenderingContext2D.clearRect()", "url": "/fr/docs/Web/API/CanvasRenderingContext2D/clearRect", "tags": ["CanvasRendering2D", "Canvas", "API", "M\u00e9thode", "R\u00e9f\u00e9rence"], "summary": "La m\u00e9thode\u00a0CanvasRenderingContext2D.clearRect() de l'API 2D des Canvas met tout les\u00a0pixels dans le rectangle d\u00e9fini par le point de d\u00e9part aux coordonn\u00e9es\u00a0(x, y)\u00a0et de dimensions d\u00e9termin\u00e9es pas\u00a0(largeur, hauteur)\u00a0en noir transparent, supprimant tout dessin pr\u00e9c\u00e9demment construit sur cette zone.", "localization_tags": ["inprogress"], "locale": "fr", "last_edit": "2016-10-23T06:26:16", "review_tags": ["editorial"]}, {"uuid": "11ed569d-a1d3-4b0f-9b1a-a4cc87dbfbff", "title": "CanvasRenderingContext2D.clearRect()", "url": "/ja/docs/Web/API/CanvasRenderingContext2D/clearRect", "tags": [], "summary": "CanvasRenderingContext2D.clearRect() \u306f\u3001\u5ea7\u6a19(x, y)\u3092\u59cb\u70b9\u3068\u3059\u308b\u5927\u304d\u3055(width, height)\u306e\u9818\u57df\u3092\u3001\u900f\u660e\u8272\uff08\u900f\u660e\u306a\u9ed2\uff09\u3067\u5857\u308a\u3064\u3076\u3057\u307e\u3059\u3002
\n \u9818\u57df\u5185\u306b\u63cf\u753b\u3055\u308c\u3066\u3044\u305f\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u6d88\u53bb\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-02-23T00:14:47", "review_tags": []}, {"uuid": "4cba93a2-1ff3-421f-a8ab-c02147b3894d", "title": "CanvasRenderingContext2D.clearRect()", "url": "/ru/docs/Web/API/CanvasRenderingContext2D/clearRect", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 CanvasRenderingContext2D.clearRect(), \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 Canvas 2D API, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u0447\u0435\u0440\u043d\u044b\u0439 \u0446\u0432\u0435\u0442 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430, \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 (x, y) \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u043c\u0438 (width, height), \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0442\u0438\u0440\u0430\u044f \u043b\u044e\u0431\u043e\u0435 \u0440\u0430\u043d\u0435\u0435 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435.", "localization_tags": [], "locale": "ru", "last_edit": "2015-04-30T14:05:51", "review_tags": ["editorial"]}, {"uuid": "fc5996a0-55ce-4f43-857e-53e081793804", "title": "CanvasRenderingContext2D.clearRect()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/clearRect", "tags": [], "summary": "The CanvasRenderingContext2D.clearRect() \u662f Canvas 2D API \u8bbe\u7f6e\u6307\u5b9a\u77e9\u5f62\u533a\u57df\u5185\uff08\u4ee5 \u70b9\u00a0(x, y)\u00a0\u4e3a\u8d77\u70b9\uff0c\u8303\u56f4\u662f(width, height)\u00a0\uff09\u6240\u6709\u50cf\u7d20\u53d8\u6210\u900f\u660e\uff0c\u5e76\u64e6\u9664\u4e4b\u524d\u7ed8\u5236\u7684\u6240\u6709\u5185\u5bb9\u7684\u65b9\u6cd5\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-09T17:55:08", "review_tags": []}], "modified": "2016-04-09T04:19:31", "label": "CanvasRenderingContext2D.clearRect()", "localization_tags": [], "locale": "en-US", "id": 128587, "last_edit": "2016-04-09T04:19:27", "summary": "The CanvasRenderingContext2D.clearRect() method of the Canvas 2D API sets all pixels in the rectangle defined by starting point\u00a0(x, y)\u00a0and size (width, height)\u00a0to transparent black, erasing any previously drawn content.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Usage_notes", "title": "Usage notes"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_clearRect_method", "title": "Using the "}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Playable_code", "title": "Playable code"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/clearRect", "review_tags": []}