Click or drag to resize

Cv2.Polylines Method (Mat, IEnumerable<IEnumerable<Point> > , Boolean, Scalar, Int32, LineTypes, Int32)

draws one or more polygonal curves

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void Polylines(
	Mat img,
	IEnumerable<IEnumerable<Point>> pts,
	bool isClosed,
	Scalar color,
	int thickness = 1,
	LineTypes lineType = LineTypes.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharp.Mat
pts
Type: System.Collections.Generic.IEnumerable<IEnumerable<Point>>
isClosed
Type: System.Boolean
color
Type: OpenCvSharp.Scalar
thickness (Optional)
Type: System.Int32
lineType (Optional)
Type: OpenCvSharp.LineTypes
shift (Optional)
Type: System.Int32
See Also