Polygon Sides & Corner Radius
Overview
Polygon shapes enforce sane limits for both the side count and corner radius. This prevents invalid geometry and keeps the polygon stable during edits.
API
editor.updateObjectProperty(polygonId, 'sides', 8)
editor.updateObjectProperty(polygonId, 'cornerRadius', 12)
Constraints
sidesis clamped to the range 3–100.cornerRadiusis clamped to half the shortest side of the polygon's size.