Emgu CV Library Documentation
cvRectangle Method (img, pt1, pt2, color, thickness, lineType, shift)
NamespacesEmgu.CVCvInvokecvRectangle(IntPtr, MCvPoint, MCvPoint, MCvScalar, Int32, LINE_TYPE, Int32)

www.emgu.com/wiki
Draws a rectangle with two opposite corners pt1 and pt2
Declaration Syntax
C#Visual BasicVisual C++
public static void cvRectangle(
	IntPtr img,
	MCvPoint pt1,
	MCvPoint pt2,
	MCvScalar color,
	int thickness,
	LINE_TYPE lineType,
	int shift
)
Public Shared Sub cvRectangle ( _
	img As IntPtr, _
	pt1 As MCvPoint, _
	pt2 As MCvPoint, _
	color As MCvScalar, _
	thickness As Integer, _
	lineType As LINE_TYPE, _
	shift As Integer _
)
public:
static void cvRectangle(
	IntPtr img, 
	MCvPoint pt1, 
	MCvPoint pt2, 
	MCvScalar color, 
	int thickness, 
	LINE_TYPE lineType, 
	int shift
)
Parameters
img (IntPtr)
Image
pt1 (MCvPoint)
One of the rectangle vertices
pt2 (MCvPoint)
Opposite rectangle vertex
color (MCvScalar)
Line color
thickness (Int32)
Thickness of lines that make up the rectangle. Negative values make the function to draw a filled rectangle.
lineType (LINE_TYPE)
Type of the line
shift (Int32)
Number of fractional bits in the point coordinates

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)