make a surface with 4 points pygame code example
Example 1: pygame draw line
pygame.draw.line(SURFACE, COLOR, START_POS, END_POS, WIDTH)
Example 2: pygame.draw.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))