Draws a single or multiple polygonal curves

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void cvPolyLine(
	IntPtr img,
	IntPtr[] pts,
	int[] npts,
	int contours,
	bool isClosed,
	MCvScalar color,
	int thickness,
	LINE_TYPE lineType,
	int shift
)
Public Shared Sub cvPolyLine ( _
	img As IntPtr, _
	pts As IntPtr(), _
	npts As Integer(), _
	contours As Integer, _
	isClosed As Boolean, _
	color As MCvScalar, _
	thickness As Integer, _
	lineType As LINE_TYPE, _
	shift As Integer _
)
public:
static void cvPolyLine(
	IntPtr img, 
	[InAttribute] array<IntPtr>^ pts, 
	[InAttribute] array<int>^ npts, 
	int contours, 
	bool isClosed, 
	MCvScalar color, 
	int thickness, 
	LINE_TYPE lineType, 
	int shift
)

Parameters

img
IntPtr
Image
pts
array<IntPtr>[]()[][]
Array of pointers to polylines
npts
array<Int32>[]()[][]
Array of polyline vertex counters
contours
Int32
Number of polyline contours
isClosed
Boolean
Indicates whether the polylines must be drawn closed. If true, the function draws the line from the last vertex of every contour to the first vertex.
color
MCvScalar
Polyline color
thickness
Int32
Thickness of the polyline edges
lineType
LINE_TYPE
Type of the line segments, see cvLine description
shift
Int32
Number of fractional bits in the vertex coordinates

See Also