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

BFont

   
Examples  
BFont metaBold; 
metaBold = loadFont("Meta-Bold.vlw.gz"); 
setFont(metaBold, 44); 
hint(SMOOTH_IMAGES); 
text("word", 15, 50); 
Description  

BFontはProcessingのためのフォントクラスである。loadFont()機能は新しいフォントを構成し、setFont()機能はこのフォントを使用可能にする。メソッドcharWidth()はフォントのそれぞれの個々の文字の幅を決める。

 

   
Syntax  
BFont var
var.charWidth(c)
   
Parameters  
var  

正当な変数名

 

c   文字列
   
Usage   Web & Application
   
Related   loadFont()
setFont()
text()
   
© 2004- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas