lineTo method

GraphicsCommandLineTo lineTo(
  1. num x,
  2. num y
)

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

Implementation

GraphicsCommandLineTo lineTo(num x, num y) {
  final command = GraphicsCommandLineTo(x, y);
  addCommand(command);
  return command;
}