( begin auto-generated from line.xml ) 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 af
(float x1, float y1, float x2, float y2)
| 12022 | * @see PGraphics#beginShape() |
| 12023 | */ |
| 12024 | public void line(float x1, float y1, float x2, float y2) { |
| 12025 | if (recorder != null) recorder.line(x1, y1, x2, y2); |
| 12026 | g.line(x1, y1, x2, y2); |
| 12027 | } |
| 12028 | |
| 12029 | |
| 12030 | /** |
no outgoing calls
no test coverage detected