{"json_modified": "2016-05-20T00:29:09.037371", "uuid": "34c6d2e9-8e3a-413c-a0bb-d0cbee9d8e8c", "title": "CanvasRenderingContext2D.ellipse()", "url": "/en-US/docs/Web/API/CanvasRenderingContext2D/ellipse", "tags": ["Canvas", "API", "Experimental", "CanvasRenderingContext2D", "canvas", "Api", "Method"], "translations": [{"uuid": "4f2debd5-18b5-4840-95ca-c646b9a3a491", "title": "CanvasRenderingContext2D.ellipse()", "url": "/zh-CN/docs/Web/API/CanvasRenderingContext2D/ellipse", "tags": [], "summary": "CanvasRenderingContext2D
.ellipse()
\u662f Canvas 2D API \u6dfb\u52a0\u692d\u5706\u8def\u5f84\u7684\u65b9\u6cd5\u3002\u692d\u5706\u7684\u5706\u5fc3\u5728\uff08x,y\uff09\u4f4d\u7f6e\uff0c\u534a\u5f84\u5206\u522b\u662fradiusX\u00a0\u548c\u00a0radiusY\u00a0\uff0c\u6309\u7167anticlockwise\u00a0\uff08\u9ed8\u8ba4\u9006\u65f6\u9488\uff09\u6307\u5b9a\u7684\u65b9\u5411\uff0c\u4ece\u00a0startAngle \u00a0\u5f00\u59cb\u7ed8\u5236\uff0c\u5230\u00a0endAngle\u00a0\u7ed3\u675f\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-08-27T06:34:21", "review_tags": []}], "modified": "2016-05-20T00:29:08", "label": "CanvasRenderingContext2D.ellipse()", "localization_tags": [], "locale": "en-US", "id": 129563, "last_edit": "2016-05-20T00:29:04", "summary": "The CanvasRenderingContext2D
.ellipse()
method of the Canvas 2D API adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_ellipse_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/ellipse", "review_tags": []}