x1: the left-right position of the start of the line y1: the top-down position of the start of the line x2: the left-right position of the end of the line y2: the top-down position of the end of the line