pygame.Rect
pygame.Rect(top, left, width, height) # all values are integers in pixels
sintaxis de pygame draw rect
pygame.draw.rect(SURFACE, RGB_COLOR, (X, Y, WIDTH, HEIGHT))
dibujar una línea pygame
pygame.draw.line(surface, color, start_pos, end_pos, width)
pygame.dibujar.rect
pygame.draw.rect(surface, color, rect)
pygame.dibujar.rect()
gameDisplay = pygame.display.set_mode((width,height))
bright_blue =(0,255,255)
# draw rectangle
pygame.draw.rect(gameDisplay, bright_blue ,(611,473,100,50))
pygame cómo dibujar un rectángulo
pygame.draw.rect(DISPLAY,BLUE,(200,150,100,50))