PlainCharクラスの説明に戻る

textWidthメソッド(PlainCharクラス)

テキストの幅を取得します

書式
textWidth(t,s)
t :テキストの内容
s :テキストサイズ(pt)

戻り値: テキストtをサイズsで書いた場合の幅