Constructor Rect
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Rect(int, int, int, int)
Stores a set of four integers that represent the location and size of a rectangle
public Rect(int X, int Y, int Width, int Height)
Parameters
XintThe x-coordinate of the upper-left corner of the rectangle.
YintThe y-coordinate of the upper-left corner of the rectangle.
WidthintThe width of the rectangle.
HeightintThe height of the rectangle.
Rect(Point, Size)
Initializes a new instance of the Rectangle class with the specified location and size.
public Rect(Point location, Size size)