Rest...args: [] | [Point, number, number, number, boolean] | [Point, number, number, number]Arc may be constructed [pc, r, startAngle, endAngle, counterClockWise]. pc - arc center r - arc radius startAngle - start angle in radians from 0 to 2PI endAngle - end angle in radians from 0 to 2PI counterClockwise - arc direction, true - clockwise, false - counterclockwise
Arc orientation
Arc end angle in radians
Arc center
Arc radius
Arc start angle in radians
Get arc length
arc length
Shape name
name of the shape
Get sweep angle in radians. Sweep angle is non-negative number from 0 to 2*PI
sweep angle in radians
Returns true if arc contains point, false otherwise
point to test
true if arc contains point, false otherwise
Rotate shape by given angle around given center point. If center point is omitted, rotates around zero point (0,0). Positive value of angle defines rotation in counterclockwise direction, negative angle defines rotation in clockwise direction
angle in radians
center of rotation
new rotated shape
When given point belongs to arc, return array of two arcs split by this point. If points is incident to start or end point of the arc, return clone of the arc. If point does not belong to the arcs, return empty array.
Query point
StaticarcSE
Class representing a circular arc