code: def draw(self, context):
          
  
          context.set_line_width(self.width)
          context.set_source_rgb(*self.color)
  
          context.move_to(*self.start_point)
          context.line_to(*self.end_point)
          context.stroke()
docs: Draws self to Cairo context