addOval method

void addOval (Rect oval)

Adds a new sub-path that consists of a curve that forms the ellipse that fills the given rectangle.

To add a circle, pass an appropriate rectangle as oval. Rect.fromCircle can be used to easily describe the circle's center Offset and radius.


void addOval(Rect oval) {
  _addOval(oval.left,, oval.right, oval.bottom);