{"json_modified": "2016-03-28T08:39:09.306634", "uuid": "31f833d6-56e6-499e-b64e-83f51cbfb107", "title": "CanvasRenderingContext2D.translate()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/translate", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "49a29e0e-185c-4d9d-aa20-30f7595c5e33", "title": "CanvasRenderingContext2D.translate()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/translate", "tags": [], "summary": "CanvasRenderingContext2D.translate() \u662f Canvas 2D API \u901a\u8fc7\u5728\u7f51\u683c\u4e2d\u79fb\u52a8 canvas \u548c canvas\u00a0\u539f\u70b9\u00a0x \u6c34\u5e73\u65b9\u5411\u3001\u539f\u70b9\u00a0y \u5782\u76f4\u65b9\u5411\uff0c\u6dfb\u52a0\u5e73\u79fb\u53d8\u6362\u7684\u65b9\u6cd5\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-09T00:37:23", "review_tags": []}], "modified": "2016-02-02T03:43:50", "label": "CanvasRenderingContext2D.translate()", "localization_tags": [], "locale": "en-US", "id": 130235, "last_edit": "2014-12-15T00:59:25", "summary": "The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation by moving the canvas and its origin x horizontally and y vertically on the grid.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_translate_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/translate", "review_tags": []}