Table of Contents

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

left int

The x-coordinate of the upper-left corner of this Rectangle structure.

top int

The y-coordinate of the upper-left corner of this Rectangle structure.

right int

The x-coordinate of the lower-right corner of this Rectangle structure.

bottom int

The y-coordinate of the lower-right corner of this Rectangle structure.

Returns

Rect