They are represented by four floats for the positions of the left, bottom, right and top edges. Rects are kept in a normalized state where the left coordinate a less than the right coordinate and the bottom coordinate less than the top coordinate. The bounding rects and coord rects of the graphics objects are such rect objects. InfinityRect represents the entire 2D plane while EmptyRect is an empty rect. The particular coordinates of these objects are irrelevant.
Rect objects are immutable.
Return a new Rect object with the coordinates left , bottom , right and top or the opposite corners llcorner and urcorner given as points objects . Return the smallest rect that contains all points in sequence . The left, bottom, right and top coordinate of the rect as python floats. For InfinityRect and EmptyRect these have no real meaning. Return true, if the point given by PointSpec or x and y is inside of self, false otherwise.