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
Syntaxpublic static void Polylines(
Mat img,
IEnumerable<IEnumerable<Point>> pts,
bool isClosed,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Shared Sub Polylines (
img As Mat,
pts As IEnumerable(Of IEnumerable(Of Point)),
isClosed As Boolean,
color As Scalar,
Optional thickness As Integer = 1,
Optional lineType As LineTypes = LineTypes.Link8,
Optional shift As Integer = 0
)
public:
static void Polylines(
Mat^ img,
IEnumerable<IEnumerable<Point>^>^ pts,
bool isClosed,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
static member Polylines :
img : Mat *
pts : IEnumerable<IEnumerable<Point>> *
isClosed : bool *
color : Scalar *
?thickness : int *
?lineType : LineTypes *
?shift : int
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineTypes.Link8
let _shift = defaultArg shift 0
*)
-> unit
OpenCvSharp.Cv2.Polylines = function(img, pts, isClosed, color, thickness, lineType, shift);
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