Rotate the shape about its approximate centroid
SPath rotated(double angle) { final c = centroid; return transformed((pt) => c + (pt - c).rotate(angle)); }