After I imported an svg with an arc, the fill color appeared as shown in the picture. Is there any setting I am missing?
I thought it should fill the entire image, but it doesn't.

The left side is what it looks like after I fill it, and the right side is my original svg image
Here is part of my code to import svg
function loadSVG() { var svgFileUrl = 'aaa.svg'; project.importSVG(svgFileUrl, function(item) { if (item instanceof Group) { item.children.forEach(function(child) { if (child instanceof Path && child.bounds.width > 5000) { child.remove(); } }); } if (item instanceof Path) { item.flatten(1); if (!item.closed) { item.closed = true; } } item.position = view.center; }); }

After I imported an svg with an arc, the fill color appeared as shown in the picture. Is there any setting I am missing?
I thought it should fill the entire image, but it doesn't.
The left side is what it looks like after I fill it, and the right side is my original svg image
Here is part of my code to import svg
function loadSVG() { var svgFileUrl = 'aaa.svg'; project.importSVG(svgFileUrl, function(item) { if (item instanceof Group) { item.children.forEach(function(child) { if (child instanceof Path && child.bounds.width > 5000) { child.remove(); } }); } if (item instanceof Path) { item.flatten(1); if (!item.closed) { item.closed = true; } } item.position = view.center; }); }