arrowedLine function

void arrowedLine(
  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

void arrowedLine(
  InputOutputArray img,
  Point pt1,
  Point pt2,
  Scalar color, {
  int thickness = 1,
  int line_type = 8,
  int shift = 0,
  double tipLength = 0.1,
}) {
  _bindings.ArrowedLine(
    img.ptr,
    pt1.toNative(),
    pt2.toNative(),
    color.toNative(),
    thickness,
  );
}