CvInvokePolylines Method (IInputOutputArray, Point, Boolean, MCvScalar, Int32, LineType, Int32) |
http://www.emgu.com
Draws a single or multiple polygonal curves
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void Polylines(
IInputOutputArray img,
Point[] pts,
bool isClosed,
MCvScalar color,
int thickness = 1,
LineType lineType = LineType.EightConnected,
int shift = 0
)
Public Shared Sub Polylines (
img As IInputOutputArray,
pts As Point(),
isClosed As Boolean,
color As MCvScalar,
Optional thickness As Integer = 1,
Optional lineType As LineType = LineType.EightConnected,
Optional shift As Integer = 0
)
public:
static void Polylines(
IInputOutputArray^ img,
array<Point>^ pts,
bool isClosed,
MCvScalar color,
int thickness = 1,
LineType lineType = LineType::EightConnected,
int shift = 0
)
static member Polylines :
img : IInputOutputArray *
pts : Point[] *
isClosed : bool *
color : MCvScalar *
?thickness : int *
?lineType : LineType *
?shift : int
(* Defaults:
let _thickness = defaultArg thickness 1
let _lineType = defaultArg lineType LineType.EightConnected
let _shift = defaultArg shift 0
*)
-> unit
Parameters
- img
- Type: Emgu.CVIInputOutputArray
Image - pts
- Type: System.DrawingPoint
Array points - isClosed
- Type: SystemBoolean
Indicates whether the polylines must be drawn closed.
If !=0, the function draws the line from the last vertex of every contour to the first vertex.
- color
- Type: Emgu.CV.StructureMCvScalar
Polyline color - thickness (Optional)
- Type: SystemInt32
Thickness of the polyline edges - lineType (Optional)
- Type: Emgu.CV.CvEnumLineType
Type of the line segments, see cvLine description - shift (Optional)
- Type: SystemInt32
Number of fractional bits in the vertex coordinates
See Also