bezierVertex()ShapeVertexWeb & ApplicationbezierVertex_.gif
beginShape(LINE_STRIP);
bezierVertex(30, 20);
bezierVertex(80, 0);
bezierVertex(80, 75);
bezierVertex(30, 75);
endShape();
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.
bezierVertex(x, y)
bezierVertex(x, y, z)
The x-coordinate of the vertex, either a float or intThe y-coordinate of the vertex, either a float or intThe z-coordinate of the vertex, either a float or int
curveVertex()
vertex()
bezier()
1.0FunctionCore