Click or drag to resize

Rect Constructor (Int32, Int32, Int32, Int32)

Initializes a new instance of the Rectangle class with the specified location and size.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.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