Table of Contents

Method Polylines

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Polylines(Mat, IEnumerable<IEnumerable<Point>>, bool, Scalar, int, LineTypes, int)

draws one or more polygonal curves

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 Mat
pts IEnumerable<IEnumerable<Point>>
isClosed bool
color Scalar
thickness int
lineType LineTypes
shift int

Polylines(InputOutputArray, InputArray, bool, Scalar, int, LineTypes, int)

draws one or more polygonal curves

public static void Polylines(InputOutputArray img, InputArray pts, bool isClosed, Scalar color, int thickness = 1, LineTypes lineType = LineTypes.Link8, int shift = 0)

Parameters

img InputOutputArray
pts InputArray
isClosed bool
color Scalar
thickness int
lineType LineTypes
shift int