ellipse method

dynamic ellipse(
  1. dynamic aX,
  2. dynamic aY,
  3. dynamic xRadius,
  4. dynamic yRadius,
  5. dynamic aStartAngle,
  6. dynamic aEndAngle,
  7. dynamic aClockwise,
  8. dynamic aRotation,
)

Implementation

ellipse(aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation) {
  var x0 = currentPoint.x;
  var y0 = currentPoint.y;

  absellipse(aX + x0, aY + y0, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation);

  return this;
}