draws a rectangle.
(Rect r)
| 475 | * draws a rectangle with corner `x, y` and width `w` and heght `h` |
| 476 | */ |
| 477 | public FLine rect(double x, double y, double w, double h) { |
| 478 | this.moveTo(x, y); |
| 479 | this.lineTo(x + w, y); |
| 480 | this.lineTo(x + w, y + h); |
| 481 | this.lineTo(x, y + h); |
| 482 | return this.lineTo(x, y); |
no test coverage detected