Closed jamesgrubb closed 1 year ago
Because you are setting the size of the circle and not the radius. All svg.js methods for simple shapes take the size to create the shape. That way you don't need to think about which type of shape you are dealing with
Got it, thank you fro your time explaining this methodology. I love how svg.js is so rich.
Bug report
Fiddle
Example
Explanation
If I set a circle's radius with
circle(50).cx(50).cy(50)
I would expect the following svg in the DOMInstead, the result is
However, if I set the circles radius using
circle().radius(50)
the result is