CvArrDrawLine Method (CvPoint, CvPoint, CvScalar, Int32, LineType, Int32) OpenCvSharp Class Library
Draws a line segment connecting two points

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void DrawLine(
	CvPoint pt1,
	CvPoint pt2,
	CvScalar color,
	int thickness,
	LineType lineType,
	int shift
)

Parameters

pt1
Type: OpenCvSharpCvPoint
First point of the line segment.
pt2
Type: OpenCvSharpCvPoint
Second point of the line segment.
color
Type: OpenCvSharpCvScalar
Line color.
thickness
Type: SystemInt32
Line thickness.
lineType
Type: OpenCvSharpLineType
Type of the line.
shift
Type: SystemInt32
Number of fractional bits in the point coordinates.
See Also

Reference