Rect Constructor (Int32, Int32, Int32, Int32) OpenCvSharp Class Library
Initializes a new instance of the Rectangle class with the specified location and size.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Rect(
	int x,
	int y,
	int width,
	int height
)

Parameters

x
Type: SystemInt32
The x-coordinate of the upper-left corner of the rectangle.
y
Type: SystemInt32
The y-coordinate of the upper-left corner of the rectangle.
width
Type: SystemInt32
The width of the rectangle.
height
Type: SystemInt32
The height of the rectangle.
See Also

Reference