Constructor Rect2d
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Rect2d(double, double, double, double)
Stores a set of four double-precision floating-point numbers that represent the location and size of a rectangle
public Rect2d(double X, double Y, double Width, double Height)
Parameters
XdoubleThe x-coordinate of the upper-left corner of the rectangle.
YdoubleThe y-coordinate of the upper-left corner of the rectangle.
WidthdoubleThe width of the rectangle.
HeightdoubleThe height of the rectangle.
Rect2d(Point2d, Size2d)
Constructor
public Rect2d(Point2d location, Size2d size)