Creates a Rectangle structure with the specified edge locations.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static Rect FromLTRB(
int left,
int top,
int right,
int bottom
)
Public Shared Function FromLTRB (
left As Integer,
top As Integer,
right As Integer,
bottom As Integer
) As Rect
public:
static Rect FromLTRB(
int left,
int top,
int right,
int bottom
)
static member FromLTRB :
left : int *
top : int *
right : int *
bottom : int -> Rect
OpenCvSharp.Rect.FromLTRB = function(left, top, right, bottom);
Parameters
- left
- Type: SystemInt32
The x-coordinate of the upper-left corner of this Rectangle structure. - top
- Type: SystemInt32
The y-coordinate of the upper-left corner of this Rectangle structure. - right
- Type: SystemInt32
The x-coordinate of the lower-right corner of this Rectangle structure. - bottom
- Type: SystemInt32
The y-coordinate of the lower-right corner of this Rectangle structure.
Return Value
Type:
Rect
See Also