Click or drag to resize

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)
Syntax
public virtual void Draw(
	Rectangle rect,
	TColor color,
	int thickness = 1,
	LineType lineType = LineType.EightConnected,
	int shift = 0
)

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