Method FromLeftTopRightBottom
FromLeftTopRightBottom(float, float, float, float)
Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.
public static RectangleF FromLeftTopRightBottom(float left, float top, float right, float bottom)
Parameters
left
floatThe x-coordinate of the upper-left corner of the rectangular region.
top
floatThe y-coordinate of the upper-left corner of the rectangular region.
right
floatThe x-coordinate of the lower-right corner of the rectangular region.
bottom
floatThe y-coordinate of the lower-right corner of the rectangular region.
Returns
- RectangleF
The new RectangleF that this method creates.