Font.getTextHeight
機能/意味
Get the height of a string
タイプ
Fontクラス
のメソッド
構文
getTextHeight(
text
)
引数
text
Specify the character string to get the height.
戻り値
Returns the height of the specified string in pixels
説明
In this method, you can get the required height when drawing the specified string with this font.
参照
Font.getTextWidth