ImageTColor, TDepthDraw Method (Rectangle, TColor, Int32, LineType, Int32) |
http://www.emgu.com Draw an Rectangle of 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(
Rectangle rect,
TColor color,
int thickness = 1,
LineType lineType = LineType.EightConnected,
int shift = 0
)
Public Overridable Sub Draw (
rect As Rectangle,
color As TColor,
Optional thickness As Integer = 1,
Optional lineType As LineType = LineType.EightConnected,
Optional shift As Integer = 0
)
public:
virtual void Draw(
Rectangle rect,
TColor color,
int thickness = 1,
LineType lineType = LineType::EightConnected,
int shift = 0
)
abstract Draw :
rect : Rectangle *
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
override Draw :
rect : Rectangle *
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
- rect
- Type: System.DrawingRectangle
The rectangle to be drawn - color
- Type: TColor
The color of the rectangle - thickness (Optional)
- Type: SystemInt32
If thickness is less than 1, the rectangle is filled up - 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