Adds a line
void addLine(Offset point1, Offset point2) { _addPoints(<double>[point1.dx, point1.dy, point2.dx, point2.dy], PathPointType.line); }