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

◆ from_ltrb()

static rectangle_f xtd::drawing::rectangle_f::from_ltrb ( float  left,
float  top,
float  right,
float  bottom 
)
staticnoexcept

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

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