lineToRect method

void lineToRect(
  1. Rect rect
)

Draws a line to the top-left corner of rect.

Implementation

void lineToRect(Rect rect) => lineTo(rect.left, rect.top);