 |
 |
 |
 |
| Name |
|
curveVertex() |
 |
|
|
| Examples |
|
 |
beginShape(LINE_STRIP);
curveVertex(84, 91);
curveVertex(84, 91);
curveVertex(68, 19);
curveVertex(21, 17);
curveVertex(32, 100);
curveVertex(32, 100);
endShape();
|
 |
|
| Description |
|
曲線の頂点座標を決める。機能は beginShape() のendShape()のあいだのみよばれる。
curveVertex() 機能はCatmull-Rom の実装である。
|
 |
|
|
| Syntax |
|
curveVertex(x, y)
curveVertex(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
|
|
 |
|
|
| Returns |
|
None |
 |
|
|
| Usage |
|
Application & Web |
 |
|
|
| Related |
|
beginShape() endShape() vertex() bezierVertex() |
|