( begin auto-generated from curve.xml ) Draws a curved line on the screen. The first and second parameters specify the beginning control point and the last two parameters specify the ending control point. The middle parameters specify the start and stop of the curve. Longer curves can be created by
(float x1, float y1,
float x2, float y2,
float x3, float y3,
float x4, float y4)
| 3634 | * @see PGraphics#bezier(float, float, float, float, float, float, float, float, float, float, float, float) |
| 3635 | */ |
| 3636 | public void curve(float x1, float y1, |
| 3637 | float x2, float y2, |
| 3638 | float x3, float y3, |
| 3639 | float x4, float y4) { |
| 3640 | beginShape(); |
| 3641 | curveVertex(x1, y1); |
| 3642 | curveVertex(x2, y2); |
| 3643 | curveVertex(x3, y3); |
| 3644 | curveVertex(x4, y4); |
| 3645 | endShape(); |
| 3646 | } |
| 3647 | |
| 3648 | /** |
| 3649 | * @param z1 coordinates for the beginning control point |
nothing calls this directly
no test coverage detected