Cv2Polylines Method OpenCvSharp Class Library
draws one or more polygonal curves

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Polylines(
	Mat img,
	IEnumerable<IEnumerable<Point>> pts,
	bool isClosed,
	Scalar color,
	int thickness = 1,
	LineType lineType = LineType.Link8,
	int shift = 0
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="img"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

pts
Type: System.Collections.GenericIEnumerableIEnumerablePoint

[Missing <param name="pts"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

isClosed
Type: SystemBoolean

[Missing <param name="isClosed"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

color
Type: OpenCvSharp.CPlusPlusScalar

[Missing <param name="color"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

thickness (Optional)
Type: SystemInt32

[Missing <param name="thickness"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

lineType (Optional)
Type: OpenCvSharpLineType

[Missing <param name="lineType"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

shift (Optional)
Type: SystemInt32

[Missing <param name="shift"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.Polylines(OpenCvSharp.CPlusPlus.Mat,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{OpenCvSharp.CPlusPlus.Point}},System.Boolean,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Int32)"]

See Also

Reference