Hello everyone!
I am trying to write a simple SVG file which is a rounded rectangle,I use the PShape method to switch the SVG file to a PShape Object.
Through the SVG can be displayed by Edge browser,in the Processing it lose orginal rounded corners.
My SVG file is shown below.
I’m guessing that Processing’s SVG parser doesn’t support rx and ry properties
Other way may be to use paths instead of rects. SVG’s path has a property called stroke-linejoin to set the corners, and this seems to be properly read by processing.
With the SVG from MDN doc, I tested something like this