http://www.emgu.com
Draws a rectangle specified by a CvRect structure

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvRectangleR(
	IntPtr img,
	Rectangle rect,
	MCvScalar color,
	int thickness,
	LINE_TYPE lineType,
	int shift
)
Visual Basic
Public Shared Sub cvRectangleR ( 
	img As IntPtr,
	rect As Rectangle,
	color As MCvScalar,
	thickness As Integer,
	lineType As LINE_TYPE,
	shift As Integer
)
Visual C++
public:
static void cvRectangleR(
	IntPtr img, 
	Rectangle rect, 
	MCvScalar color, 
	int thickness, 
	LINE_TYPE lineType, 
	int shift
)
F#
static member cvRectangleR : 
        img : IntPtr * 
        rect : Rectangle * 
        color : MCvScalar * 
        thickness : int * 
        lineType : LINE_TYPE * 
        shift : int -> unit 

Parameters

img
Type: System..::..IntPtr
Image
rect
Type: System.Drawing..::..Rectangle
The rectangle to be drawn
color
Type: Emgu.CV.Structure..::..MCvScalar
Line color
thickness
Type: System..::..Int32
Thickness of lines that make up the rectangle. Negative values make the function to draw a filled rectangle.
lineType
Type: Emgu.CV.CvEnum..::..LINE_TYPE
Type of the line
shift
Type: System..::..Int32
Number of fractional bits in the point coordinates

See Also