LineToCommand constructor

const LineToCommand(
  1. double x,
  2. double y
)

Creates a straight line command from the current point to x,y.

Implementation

const LineToCommand(this.x, this.y) : super._(PathCommandType.line);