インフォ FAQ

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

strokeWeight()

   
Examples  
strokeWeight(1);   // ディフォルト 
line(20, 20, 80, 20); 
 
strokeWeight(4);   // 太く 
line(20, 40, 80, 40); 
 
strokeWeight(10);  // さらに太く 
line(20, 70, 80, 70); 

Description   線やシェイプの周りの境界のストロークの幅を設定する。全ての幅はピクセルの単位で設定される。
   
Syntax  
strokeWeight(幅)
   
Parameters  
width   整数か浮動少数点数: ストロークの幅(ピクセルで)
   
Returns   なし
   
Usage   Web & Application
   
Related   stroke()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas