Draws a single or multiple polygonal curves
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public static void cvPolyLine( IntPtr img, IntPtr[] pts, int[] npts, int contours, bool isClosed, MCvScalar color, int thickness, LINE_TYPE lineType, int shift ) |
Visual Basic (Declaration) |
---|
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 _ ) |
Visual C++ |
---|
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
- Type: System..::.IntPtr
Image
- pts
- Type: array<
System..::.IntPtr
>[]()[]
Array of pointers to polylines
- npts
- Type: array<
System..::.Int32
>[]()[]
Array of polyline vertex counters
- contours
- Type: System..::.Int32
Number of polyline contours
- isClosed
- Type: System..::.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
- Type: Emgu.CV.Structure..::.MCvScalar
Polyline color
- thickness
- Type: System..::.Int32
Thickness of the polyline edges
- lineType
- Type: Emgu.CV.CvEnum..::.LINE_TYPE
Type of the line segments, see cvLine description
- shift
- Type: System..::.Int32
Number of fractional bits in the vertex coordinates