Method FromLTRB
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
FromLTRB(int, int, int, int)
Creates a Rectangle structure with the specified edge locations.
public static Rect FromLTRB(int left, int top, int right, int bottom)
Parameters
leftintThe x-coordinate of the upper-left corner of this Rectangle structure.
topintThe y-coordinate of the upper-left corner of this Rectangle structure.
rightintThe x-coordinate of the lower-right corner of this Rectangle structure.
bottomintThe y-coordinate of the lower-right corner of this Rectangle structure.