circleAsync function

Future<Mat> circleAsync(
  1. InputOutputArray img,
  2. Point center,
  3. int radius,
  4. Scalar color, {
  5. int thickness = 1,
  6. int lineType = LINE_8,
  7. int shift = 0,
})

CircleWithParams draws a circle.

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

Implementation

Future<Mat> circleAsync(
  InputOutputArray img,
  Point center,
  int radius,
  Scalar color, {
  int thickness = 1,
  int lineType = LINE_8,
  int shift = 0,
}) async =>
    cvRunAsync0(
      (callback) => cimgproc.CircleWithParams_Async(
        img.ref,
        center.ref,
        radius,
        color.ref,
        thickness,
        lineType,
        shift,
        callback,
      ),
      (completer) => completer.complete(img),
    );