This fixes #52 by using the advanced version of add_rounded_corners added in #53. When the node has to draw a ring shape, instead of rounding the shape first, then making it a ring, the node now makes it a ring, then rounds it.
The static add_rounded_corners method in RegularPolygon2D has an additional optional variable to allow this to happen. It has also been restructured to use add_rounded_corners in the RegularGeometry2D class.
This fixes #52 by using the advanced version of
add_rounded_corners
added in #53. When the node has to draw a ring shape, instead of rounding the shape first, then making it a ring, the node now makes it a ring, then rounds it.The static
add_rounded_corners
method inRegularPolygon2D
has an additional optional variable to allow this to happen. It has also been restructured to useadd_rounded_corners
in theRegularGeometry2D
class.