{"json_modified": "2016-03-28T08:39:08.421832", "uuid": "9159fa58-1bf5-49f8-86c6-a622a0c6d0be", "title": "CanvasRenderingContext2D.rotate()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/rotate", "tags": ["Canvas", "API", "Reference", "R\u00e9f\u00e9rence", "CanvasRenderingContext2D", "Method"], "translations": [{"uuid": "8f1809f2-270d-48ec-918d-c1d8dde02566", "title": "CanvasRenderingContext2D.rotate()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/rotate", "tags": [], "summary": "CanvasRenderingContext2D
.rotate()
\u662f Canvas 2D API \u5728\u53d8\u6362\u77e9\u9635\u4e2d\u589e\u52a0\u65cb\u8f6c\u7684\u65b9\u6cd5\u3002\u89d2\u5ea6\u53d8\u91cf\u8868\u793a\u4e00\u4e2a\u987a\u65f6\u9488\u65cb\u8f6c\u89d2\u5ea6\u5e76\u4e14\u7528\u5f27\u5ea6\u8868\u793a\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-06-08T00:29:38", "review_tags": []}], "modified": "2016-02-02T03:43:06", "label": "CanvasRenderingContext2D.rotate()", "localization_tags": [], "locale": "en-US", "id": 130225, "last_edit": "2014-11-14T07:53:23", "summary": "The CanvasRenderingContext2D
.rotate()
method of the Canvas 2D API adds a rotation to the transformation matrix. The angle argument represents a clockwise rotation angle and is expressed in radians.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_rotate_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/rotate", "review_tags": []}