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

textSize()

   
Examples  
BFont metaBold; 
// フォント"Meta-Bold.vlw.gz" は正しくロードするために 
//現在のsketchのdataディレクトリー内に置かなければならない metaBold = loadFont("Meta-Bold.vlw.gz"); textFont(metaBold); textSize(44); text("word", 15, 50); textSize(24); text("word", 15, 70);
Description  

今のフォントサイズを設定する。このサイズは text() 機能をよぶすべてのシーケンスで使用される。フォントサイズはピクセル単位で測られる。

 

   
Syntax  
textSize(size)
   
Parameters  
size  

整数か浮動少数点数: ピクセル単位の文字の大きさ

 

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