line method

void line(
  1. Vec2D to
)

Implementation

void line(Vec2D to) => lineTo(to.x, to.y);