pygame pygame.draw.line code example
Example 1: pygame draw line
pygame.draw.line(SURFACE, COLOR, START_POS, END_POS, WIDTH)
Example 2: draw a line pygame
pygame.draw.line(surface, color, start_pos, end_pos, width)
pygame.draw.line(SURFACE, COLOR, START_POS, END_POS, WIDTH)
pygame.draw.line(surface, color, start_pos, end_pos, width)