def METHOD_NAME(self, line):
    x1 = float(line.attrib.get("x1", 0))
    y1 = float(line.attrib.get("y1", 0))
    x2 = float(line.attrib.get("x2", 0))
    y2 = float(line.attrib.get("y2", 0))
    self._start_path()
    self.M(x1, y1)
    self.L(x2, y2)