Copy link to clipboard
Copied
I'm trying to create a function that checks all the elements of a pathitem and reproduces it, but I'm not able to create the last edge that closes it, be it a straight line or a curve, below I leave an image of the result, could anyone give me some tip?
if the original path is closed add this after your loop
novoPathItem.closed = true;
Copy link to clipboard
Copied
if the original path is closed add this after your loop
novoPathItem.closed = true;