Draws a line between two coordinates.
void drawLine(double x1, double y1, double x2, double y2) { moveTo(x1, y1); lineTo(x2, y2); }