| 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
)
Public Sub New (
x As Integer,
y As Integer,
width As Integer,
height As Integer
)
public:
Rect(
int x,
int y,
int width,
int height
)
new :
x : int *
y : int *
width : int *
height : int -> Rect
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