ImageTColor, TDepthDraw Method (LineSegment2D, TColor, Int32, LineType, Int32) |
http://www.emgu.com Draw a line segment using the specific color and thickness
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic virtual void Draw(
LineSegment2D line,
TColor color,
int thickness,
LineType lineType = LineType.EightConnected,
int shift = 0
)
Public Overridable Sub Draw (
line As LineSegment2D,
color As TColor,
thickness As Integer,
Optional lineType As LineType = LineType.EightConnected,
Optional shift As Integer = 0
)
public:
virtual void Draw(
LineSegment2D line,
TColor color,
int thickness,
LineType lineType = LineType::EightConnected,
int shift = 0
)
abstract Draw :
line : LineSegment2D *
color : 'TColor *
thickness : int *
?lineType : LineType *
?shift : int
(* Defaults:
let _lineType = defaultArg lineType LineType.EightConnected
let _shift = defaultArg shift 0
*)
-> unit
override Draw :
line : LineSegment2D *
color : 'TColor *
thickness : int *
?lineType : LineType *
?shift : int
(* Defaults:
let _lineType = defaultArg lineType LineType.EightConnected
let _shift = defaultArg shift 0
*)
-> unit
Parameters
- line
- Type: Emgu.CV.StructureLineSegment2D
The line segment to be drawn - color
- Type: TColor
The color of the line segment - thickness
- Type: SystemInt32
The thickness of the line segment - 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