arc method

dynamic arc(
  1. dynamic aX,
  2. dynamic aY,
  3. dynamic aRadius,
  4. dynamic aStartAngle,
  5. dynamic aEndAngle,
  6. dynamic aClockwise,
)

Implementation

arc(aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise) {
  var x0 = currentPoint.x;
  var y0 = currentPoint.y;

  absarc(aX + x0, aY + y0, aRadius, aStartAngle, aEndAngle, aClockwise);

  return this;
}