getArcMeasure
Get the measure of an arc.
function getArcMeasure(
A: number,
B: number,
sweepFlag: number,
largeArcFlag: number
): number
Parameters
Name | Description |
---|---|
|
The angle from center to arc's start point (A) on the circle |
|
The angle from center to arc's end point (B) on the circle |
|
1 if the arc is clockwise, 0 if counter-clockwise |
|
1 if the arc is greater than 180 degrees, 0 if less than 180 degrees |
Returns
number
The measure of the arc, negative if counter-clockwise