xtd 0.2.0
Loading...
Searching...
No Matches

◆ from_ltrb()

static rectangle xtd::drawing::rectangle::from_ltrb ( int32  left,
int32  top,
int32  right,
int32  bottom 
)
staticnoexcept

Creates a xtd::drawing::rectangle structure with the specified edge locations.

Parameters
leftThe x-coordinate of the upper-left corner of this xtd::drawing::rectangle structure.
topThe y-coordinate of the upper-left corner of this xtd::drawing::rectangle structure.
rightThe x-coordinate of the lower-right corner of this xtd::drawing::rectangle structure.
bottomThe y-coordinate of the lower-right corner of this xtd::drawing::rectangle structure.
Returns
The new xtd::drawing::rectangle that this method creates.
Remarks
This method creates a xtd::drawing::rectangle with the specified upper-left and lower-right corners.