Draws a line (a direct path between two points) to the screen. The version of line() with four parameters draws the line in 2D. To color a line, use the stroke() function. A line cannot be filled, therefore the fill() function will not affect the color of a line. 2D lines are d
(float x1, float y1, float x2, float y2)
| 11318 | * @see PGraphics#beginShape() |
| 11319 | */ |
| 11320 | public void line(float x1, float y1, float x2, float y2) { |
| 11321 | if (recorder != null) recorder.line(x1, y1, x2, y2); |
| 11322 | g.line(x1, y1, x2, y2); |
| 11323 | } |
| 11324 | |
| 11325 | |
| 11326 | /** |
no outgoing calls
no test coverage detected