(self, p1, p2, color)
Draw the line segment from p1-p2 with the specified color.
Draw the line segment from p1-p2 with the specified color.
Draw the line segment from p1 - p2 with the specified color .
def DrawSegment(self, p1, p2, color):
        """
        Draw the line segment from p1-p2 with the specified color.
        """
        pygame.draw.aaline(self.surface, color.bytes, p1, p2)
def DrawSegment ( self , p1 , p2 , color ) : pygame . draw . aaline ( self . surface , color . bytes , p1 , p2 )