Description:
Rect is a rectangle utility object used for positioning,
sizing, and collision-style calculations within VertexEngine.
Its parameters and behavior are fully compatible with
pygame.Rect, allowing you to directly reuse or copy
existing pygame code without modification.
pygame.Rectfrom VertexEngine import Rect
rect = Rect(50, 50, 200, 100)
left (int, optional): X-coordinate of the rectangletop (int, optional): Y-coordinate of the rectanglewidth (int, optional): Rectangle widthheight (int, optional): Rectangle height
A Rect object representing a rectangular area and its
configuration.