-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for ellipse() ? #29
Comments
Is ellipse new? Doesn’t look like part of CanvasPathMethods: |
I found it in this MDN documentation page, which lead to the HTML Living Standard spec. I am not 100% sure about the status of these specifications, but the W3C one you mentioned is marked as "superseded". A level 2 spec was in the working, but it seems to be abandoned: https://www.w3.org/TR/2dcontext2/ I tested |
I hope it could be a matter of adapting the code to accept two different radii, given that the |
@nitaku Do you have an idea in mind for what the API could look like? |
I would expect this signature for the ellipse method:
as described here in more detail: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-ellipse |
We used a few test renderings made with Canvas as a reference. |
It would be very useful to have support for the
ellipse()
method.Specs: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-ellipse
The text was updated successfully, but these errors were encountered: