from_left_top_right_bottom method

from_left_top_right_bottom

Creates a Rectangle structure with the specified edge locations.

Returns

The new Rectangle that this method creates.

def from_left_top_right_bottom(self, left, top, right, bottom):
    ...
ParameterTypeDescription
leftintThe x-coordinate of the upper-left corner of this Rectangle structure.
topintThe y-coordinate of the upper-left corner of this Rectangle structure.
rightintThe x-coordinate of the lower-right corner of this Rectangle structure.
bottomintThe y-coordinate of the lower-right corner of this Rectangle structure.

See Also