GraphicsCommandLineTo lineTo(num x, num y)

From the current point in the path, draw a line to x and y

Source

GraphicsCommandLineTo lineTo(num x, num y) {
  var command = new GraphicsCommandLineTo(x, y);
  this.addCommand(command);
  return command;
}