 |
 |
 |
 |
Name |
|
bezierVertex() |
 |
|
|
Examples |
|
 |
beginShape(LINE_STRIP);
bezierVertex(30, 20);
bezierVertex(80, 0);
bezierVertex(80, 75);
bezierVertex(30, 75);
endShape();
|
 |
|
Description |
|
Specifies vertex coordinates for Bezier curves. This function must be used between beginShape() and endShape(). These curves are defined by a series of anchor and control points. Bezier curves were developed by French engineer Pierre Bezier. |
 |
|
|
Syntax |
|
bezierVertex(x, y)
bezierVertex(x, y, z)
|
 |
|
|
Parameters |
|
x |
|
The x-coordinate of the vertex, either a float or int
|
y |
|
The y-coordinate of the vertex, either a float or int
|
z |
|
The z-coordinate of the vertex, either a float or int
|
|
 |
|
|
Usage |
|
Web & Application |
 |
|
|
Related |
|
curveVertex() vertex() bezier() |
|