@ustk Have I missed something? I am just getting errors trying to use the roundCorners.
// Invert the path vertically and scale by duck p.scaleToFit(a[0], h , a[2], -h, false); local roundedPath = p.roundCorners(10.0); // Fill g.fillAll(panel.get("bgColour")); g.setColour(Colours.white); g.drawPath(roundedPath, p.getBounds(1.0), {"Thickness": 2.0});