lineTo abstract method

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

Connects the last point to the given point with a straight line.

Implementation

void lineTo(num x, num y);