{"json_modified": "2016-03-28T08:39:09.045804", "uuid": "39dbc8fe-5e41-4382-a87a-fe3fd993fe2c", "title": "CanvasRenderingContext2D.scale()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/scale", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "e7fbbcec-af37-45f8-a329-a1ec90f8d0be", "title": "CanvasRenderingContext2D.scale()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/scale", "tags": [], "summary": "CanvasRenderingContext2D
.scale()
\u662f Canvas 2D API \u6839\u636e x \u6c34\u5e73\u65b9\u5411\u548c y \u5782\u76f4\u65b9\u5411\uff0c\u4e3acanvas \u5355\u4f4d\u6dfb\u52a0\u7f29\u653e\u53d8\u6362\u7684\u65b9\u6cd5\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T18:50:31", "review_tags": []}], "modified": "2016-02-02T03:43:46", "label": "CanvasRenderingContext2D.scale()", "localization_tags": [], "locale": "en-US", "id": 130233, "last_edit": "2014-11-17T08:33:51", "summary": "The CanvasRenderingContext2D
.scale()
method of the Canvas 2D API adds a scaling transformation to the canvas units by x horizontally and by y vertically.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_scale_method", "title": "Using the "}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Playable_code", "title": "Playable code"}, {"id": "Using_scale_to_flip_horizontally_or_vertically", "title": "Using "}, {"id": "Playable_code2", "title": "Playable code2"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/CanvasRenderingContext2D/scale", "review_tags": []}