Click or drag to resize
CvInvokeRectangle Method
http://www.emgu.com
Draws a rectangle specified by a CvRect structure

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static void Rectangle(
	IInputOutputArray img,
	Rectangle rect,
	MCvScalar color,
	int thickness = 1,
	LineType lineType = LineType.EightConnected,
	int shift = 0
)

Parameters

img
Type: Emgu.CVIInputOutputArray
Image
rect
Type: System.DrawingRectangle
The rectangle to be drawn
color
Type: Emgu.CV.StructureMCvScalar
Line color
thickness (Optional)
Type: SystemInt32
Thickness of lines that make up the rectangle. Negative values make the function to draw a filled rectangle.
lineType (Optional)
Type: Emgu.CV.CvEnumLineType
Type of the line
shift (Optional)
Type: SystemInt32
Number of fractional bits in the point coordinates
See Also