Processing (BETA) version 135+ のリファレンスです。 旧バージョン使用者はソフトウェア内のリファレンスを参照してください。
この文書は Processing のAPIリファレンスを日本語に訳したものです。 最新の内容は 英語版 で確認して下さい。


Name

bezierVertex()

Examples
example pic
noFill();
beginShape();
vertex(30, 20);
bezierVertex(80, 0, 80, 75, 30, 75);
endShape();
example pic
beginShape();
vertex(30, 20);
bezierVertex(80, 0, 80, 75, 30, 75);
bezierVertex(50, 80, 60, 25, 30, 20);
endShape();
Description ベジエ曲線の頂点座標を指定します。 bezierVertex() の呼び出しでは、2つのコントロールポイントと1つのアンカーポイントを定義します。 それぞれの呼び出しで新たな線、または図形のセグメントを追加していきます。 bezierVertex()beginShape() 呼び出し後に使用します。 ただし、最初のアンカーポイントは vertex() によって決定されます。 この関数は beginShape()endShape() の範囲内で使用しなければなりません。 また beginShape() にMODEパラメタが指定されていないときだけ使用できます。 3Dで指定する場合、P3D か OPENGLレンダラーでレンダリングする必要があります。 (詳細はEnvironmentリファレンスを見てください).
Syntax
bezierVertex(cx1, cy1, cx2, cy2, x, y)
bezierVertex(cx1, cy1, cz1, cx2, cy2, cz2, x, y, z)
Parameters
cx1 The x-coordinate of 1st control point, either a float or int
cy1 The y-coordinate of 1st control point, either a float or int
cz1 The z-coordinate of 1st control point, either a float or int
cx2 The x-coordinate of 2nd control point, either a float or int
cy2 The y-coordinate of 2nd control point, either a float or int
cz2 The z-coordinate of 2nd control point, either a float or int
x The x-coordinate of anchor point, either a float or int
y The y-coordinate of anchor point, either a float or int
z The z-coordinate of anchor point, either a float or int
Usage Web & Application
Related curveVertex()
vertex()
bezier()
Updated on May 24, 2007 06:11:18pm PDT

Creative Commons License

この文書の原文はクリエイティブ・コモンズ(Creative Commons)Attribution-Noncommercial-Share Alike(表示・非営利・継承) ライセンスで公開されています。 このライセンスは同一の許諾条件の下で原作者のクレジットを表示し、また作品を営利目的で利用しなければ、作品に対して複製、頒布、展示、実演、二次的著作物の作成が行えることを示します。

© 2007 Processing.org