Function CanvasItem.drawArc

Draws an arc between the given angles. The larger the value of point_count, the smoother the curve.

void drawArc (
  const(Vector2) center,
  const(double) radius,
  const(double) start_angle,
  const(double) end_angle,
  const(long) point_count,
  const(Color) color,
  const(double) width = 1.00000,
  const(bool) antialiased = false
) nothrow @nogc;