Closed anandology closed 3 years ago
From a compass analogy, radius is easier to understand. From alignment with Ellipse syntax, width = height = diameter is better.
Either is fine. You should pick based on how you want teach it for the moment and your objectives on syntactic simplicity.
The API
I think it is better to specify width and height of the ellipse, just like the rectangle. Using
rx
anry
as in SVG doesn't look that elegant.Going by the same argument, we should be using the diameter for the circle, not radius. @amitkaps what do you think?
Reference
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse