Constructor Rect2f
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Rect2f(float, float, float, float)
A rectangle with float type coordinates in 2D space
public Rect2f(float X, float Y, float Width, float Height)
Parameters
XfloatThe x-coordinate of the upper-left corner of the rectangle.
YfloatThe y-coordinate of the upper-left corner of the rectangle.
WidthfloatThe width of the rectangle.
HeightfloatThe height of the rectangle.
Rect2f(Point2f, Size2f)
Constructor
public Rect2f(Point2f location, Size2f size)