arcOval method

Graphics arcOval(
  1. double cx,
  2. double cy,
  3. double radiusX,
  4. double radiusY,
  5. double startAngle,
  6. double sweepAngle,
)

Draws an arc of an oval.

The oval is specified by its center (cx, cy), x radius radiusX, and y radius radiusY. The arc starts at startAngle and sweeps sweepAngle degrees (in radians).

See also:

Implementation

Graphics arcOval(
  double cx,
  double cy,
  double radiusX,
  double radiusY,
  double startAngle,
  double sweepAngle,
) {
  _path!.addArc(
    Rect.fromCenter(
      center: Offset(cx, cy),
      width: radiusX * 2,
      height: radiusY * 2,
    ),
    startAngle,
    sweepAngle,
  );
  return this;
}