normalize method

normalize

Normalizes the rectangle by making it’s width and height positive, left less than right and top less than bottom.

def normalize(self):
    ...

See Also