ArcData
interface ArcData {
readonly startingAngle: number
readonly endingAngle: number
readonly innerRadius: number
}
This data controls the "arc" properties of the circle shape:
The angles are in radians and the inner radius value is from 0 to 1. For the angles, 0° is the x axis and increasing angles rotate clockwise.
Examples:
// Make a half-circle
node.arcData = {startingAngle: 0, endingAngle: Math.PI, innerRadius: 0}
// Make a donut
node.arcData = {startingAngle: 0, endingAngle: 2 * Math.PI, innerRadius: 0.5}