from_left_top_right_bottom method

from_left_top_right_bottom

Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.

Returns

The new RectangleF that this method creates.

def from_left_top_right_bottom(self, left, top, right, bottom):
    ...
ParameterTypeDescription
leftfloatThe x-coordinate of the upper-left corner of the rectangular region.
topfloatThe y-coordinate of the upper-left corner of the rectangular region.
rightfloatThe x-coordinate of the lower-right corner of the rectangular region.
bottomfloatThe y-coordinate of the lower-right corner of the rectangular region.

See Also