Click or drag to resize

Cv2Polylines Method (Mat, IEnumerableIEnumerablePoint, 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: OpenCvSharpMat
pts
Type: System.Collections.GenericIEnumerableIEnumerablePoint
isClosed
Type: SystemBoolean
color
Type: OpenCvSharpScalar
thickness (Optional)
Type: SystemInt32
lineType (Optional)
Type: OpenCvSharpLineTypes
shift (Optional)
Type: SystemInt32
See Also