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: 3.4.1.20180605-33-CaRLSharp
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
OpenCvSharp.Rect = function(location, size);
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