ImageTColor, TDepthDrawPolyline Method (Point, Boolean, TColor, Int32, LineType, Int32) |
http://www.emgu.com
Draw the polyline defined by the array of 2D points
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic void DrawPolyline(
Point[] pts,
bool isClosed,
TColor color,
int thickness = 1,
LineType lineType = LineType.EightConnected,
int shift = 0
)
Public Sub DrawPolyline (
pts As Point(),
isClosed As Boolean,
color As TColor,
Optional thickness As Integer = 1,
Optional lineType As LineType = LineType.EightConnected,
Optional shift As Integer = 0
)
public:
void DrawPolyline(
array<Point>^ pts,
bool isClosed,
TColor color,
int thickness = 1,
LineType lineType = LineType::EightConnected,
int shift = 0
)
member DrawPolyline :
pts : Point[] *
isClosed : bool *
color : 'TColor *
?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
- pts
- Type: System.DrawingPoint
A polyline defined by its point - isClosed
- Type: SystemBoolean
if true, the last line segment is defined by the last point of the array and the first point of the array - color
- Type: TColor
the color used for drawing - thickness (Optional)
- Type: SystemInt32
the thinkness of the line - lineType (Optional)
- Type: Emgu.CV.CvEnumLineType
Line type - shift (Optional)
- Type: SystemInt32
Number of fractional bits in the center coordinates and radius value
See Also