インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

bezier()

   
Examples  
stroke(255, 102, 0); 
line(85, 20, 10, 10); 
line(90, 90, 15, 80); 
stroke(0, 0, 0); 
bezier(85, 20, 10, 10, 90, 90, 15, 80); 
stroke(255, 102, 0); 
line(30, 20, 80, 5); 
line(80, 75, 30, 75); 
stroke(0, 0, 0); 
bezier(30, 20,  80, 5,  80, 75,  30, 75); 
Description  

スクリーンにベジェ曲線を描く。アンカーによって決定され点がコントロールする。初めの2つのパラメータは、曲線の初めの点を決定し、残りの2つのパラメータは曲線の最後の点を決める。真ん中のそれぞれのパラメータは、曲線の形を決めるコンテクストを与える。ベジェ曲線は、フランスのエンジニアPierre Bezierによって開発された。

 

   
Syntax  
bezier(x1, y1, x2, y2, x3, y3, x4, y4);
   
Parameters  
x1  

y1  

x2  

y2  

x3  

y3  

x4  

y4  

   
Returns   なし
   
Usage   Web & Application
   
Related   bezierVertex()
curve()
   
© 2004- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas