 | Rect Constructor (Point, Size) |
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
Syntaxpublic Rect(
Point location,
Size size
)
Public Sub New (
location As Point,
size As Size
)
public:
Rect(
Point location,
Size size
)
new :
location : Point *
size : Size -> Rect
Parameters
- location
- Type: OpenCvSharpPoint
A Point that represents the upper-left corner of the rectangular region. - size
- Type: OpenCvSharpSize
A Size that represents the width and height of the rectangular region.
See Also