ellipseAsync function

Future<Mat> ellipseAsync(
  1. InputOutputArray img,
  2. Point center,
  3. Point axes,
  4. double angle,
  5. double startAngle,
  6. double endAngle,
  7. Scalar color, {
  8. int thickness = 1,
  9. int lineType = LINE_8,
  10. int shift = 0,
})

Ellipse draws a simple or thick elliptic arc or fills an ellipse sector.

For further details, please see: https:///docs.opencv.org/master/d6/d6e/group__imgproc__draw.html#ga28b2267d35786f5f890ca167236cbc69

Implementation

Future<Mat> ellipseAsync(
  InputOutputArray img,
  Point center,
  Point axes,
  double angle,
  double startAngle,
  double endAngle,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
}) async =>
    cvRunAsync0(
      (callback) => cffi.EllipseWithParams_Async(
        img.ref,
        center.ref,
        axes.ref,
        angle,
        startAngle,
        endAngle,
        color.ref,
        thickness,
        lineType,
        shift,
        callback,
      ),
      (completer) => completer.complete(img),
    );