arrowedLineAsync function

Future<Mat> arrowedLineAsync(
  1. InputOutputArray img,
  2. Point pt1,
  3. Point pt2,
  4. Scalar color, {
  5. int thickness = 1,
  6. int line_type = 8,
  7. int shift = 0,
  8. double tipLength = 0.1,
})

ArrowedLine draws a arrow segment pointing from the first point to the second one.

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

Implementation

Future<Mat> arrowedLineAsync(
  InputOutputArray img,
  Point pt1,
  Point pt2,
  Scalar color, {
  int thickness = 1,
  int line_type = 8,
  int shift = 0,
  double tipLength = 0.1,
}) async =>
    cvRunAsync0(
      (callback) => cffi.ArrowedLine_Async(
        img.ref,
        pt1.ref,
        pt2.ref,
        color.ref,
        thickness,
        line_type,
        shift,
        tipLength,
        callback,
      ),
      (completer) => completer.complete(img),
    );