Draws a single or multiple polygonal curves

C# | Visual Basic | Visual C++ |
public static void cvPolyLine( IntPtr img, IntPtr[] pts, int[] npts, int contours, int isClosed, MCvScalar color, int thickness, LINE_TYPE lineType, int shift )

- 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 (Int32)
- Indicates whether the polylines must be drawn closed. If !=0, 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