drawCircle method

void drawCircle (
  1. Offset c,
  2. double radius,
  3. Paint paint
)

Draws a circle centered at the point given by the first argument and that has the radius given by the second argument, with the Paint given in the third argument. Whether the circle is filled or stroked (or both) is controlled by Paint.style.

Implementation

void drawCircle(Offset c, double radius, Paint paint) {
  assert(_offsetIsValid(c));
  assert(paint != null); // ignore: unnecessary_null_comparison
  _drawCircle(c.dx, c.dy, radius, paint._objects, paint._data);
}