Rect Constructor (Point, Size) OpenCvSharp Class Library
Initializes a new instance of the Rectangle class with the specified location and size.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Rect(
	Point location,
	Size size
)

Parameters

location
Type: OpenCvSharp.CPlusPlusPoint
A Point that represents the upper-left corner of the rectangular region.
size
Type: OpenCvSharp.CPlusPlusSize
A Size that represents the width and height of the rectangular region.
See Also

Reference