Cv2Polylines Method (InputOutputArray, InputArray, 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(
InputOutputArray img,
InputArray pts,
bool isClosed,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes.Link8,
int shift = 0
)
Public Shared Sub Polylines (
img As InputOutputArray,
pts As InputArray,
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(
InputOutputArray^ img,
InputArray^ pts,
bool isClosed,
Scalar color,
int thickness = 1,
LineTypes lineType = LineTypes::Link8,
int shift = 0
)
static member Polylines :
img : InputOutputArray *
pts : InputArray *
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: OpenCvSharpInputOutputArray
- pts
- Type: OpenCvSharpInputArray
- isClosed
- Type: SystemBoolean
- color
- Type: OpenCvSharpScalar
- thickness (Optional)
- Type: SystemInt32
- lineType (Optional)
- Type: OpenCvSharpLineTypes
- shift (Optional)
- Type: SystemInt32
See Also