Rect holds four integer coordinates for a rectangle. The rectangle is represented by the coordinates of its 4 edges (left, top, right bottom).
The Rect
class is basically just a set of the coordinates for left/top and right/bottom corner. It has no concept of rotation whatsoever.