drawOval method

  1. @override
void drawOval(
  1. Rect rect,
  2. Paint paint
)
override

Draws an axis-aligned oval that fills the given axis-aligned rectangle with the given Paint. Whether the oval is filled or stroked (or both) is controlled by Paint.style.

Implementation

@override
void drawOval(Rect rect, Paint paint) {
  invocations.add(
    RecordedInvocation(
      _MethodCall(#drawOval, <dynamic>[rect, Paint.from(paint)]),
      stack: StackTrace.current,
    ),
  );
}