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: 1.0.0
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

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

pts
Type: System.Collections.GenericIEnumerableIEnumerablePoint

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

isClosed
Type: SystemBoolean

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

color
Type: OpenCvSharpScalar

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

thickness (Optional)
Type: SystemInt32

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

lineType (Optional)
Type: OpenCvSharpLineTypes

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

shift (Optional)
Type: SystemInt32

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

See Also