Method ArrowedLine
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ArrowedLine(InputOutputArray, Point, Point, Scalar, int, LineTypes, int, double)
Draws a arrow segment pointing from the first point to the second one. The function arrowedLine draws an arrow between pt1 and pt2 points in the image. See also cv::line.
public static void ArrowedLine(InputOutputArray img, Point pt1, Point pt2, Scalar color, int thickness = 1, LineTypes lineType = LineTypes.Link8, int shift = 0, double tipLength = 0.1)
Parameters
imgInputOutputArrayImage.
pt1PointThe point the arrow starts from.
pt2PointThe point the arrow points to.
colorScalarLine color.
thicknessintLine thickness.
lineTypeLineTypesType of the line, see cv::LineTypes
shiftintNumber of fractional bits in the point coordinates.
tipLengthdoubleThe length of the arrow tip in relation to the arrow length