Arc Angles & Radius Scaling

Overview

Arc shapes render a full circle when startAngle equals endAngle, and resizing updates both radius and innerRadius to keep proportions.

API

editor.updateObjectProperty(arcId, 'startAngle', 45)
editor.updateObjectProperty(arcId, 'endAngle', 45)
editor.setObjectSize(arcId, 200, 200)

Notes

  • When startAngle equals endAngle, the arc renders a full 360° sweep.
  • Resizing updates radius and preserves the existing inner/outer radius ratio.