PlainCharに戻る

PlainChar.textWidth - テキストの幅を取得します

書式

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

戻り値

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