Draws simple or thick polygons
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void PolyLine( CvArr img, CvPoint[][] pts, bool isClosed, CvScalar color, int thickness, LineType lineType )
Parameters
- img
- Type: OpenCvSharpCvArr
Image. - pts
- Type: OpenCvSharpCvPoint
Array of pointers to polylines. - isClosed
- Type: SystemBoolean
Indicates whether the polylines must be drawn closed. If closed, the function draws the line from the last vertex of every contour to the first vertex. - color
- Type: OpenCvSharpCvScalar
Polyline color. - thickness
- Type: SystemInt32
Thickness of the polyline edges. - lineType
- Type: OpenCvSharpLineType
Type of the line segments.
See Also