Font.getGlyphDrawRect
機能/意味
Actual drawing range of character string
タイプ
Fontクラス
のメソッド
構文
getGlyphDrawRect(
text
)
引数
text
Specify the character string to get the range.
戻り値
Actual drawing range of character string
説明
You can get the area where the glyph image is drawn when drawing the character specified by the current font setting.
The resulting range is an object of the Rect class based on the 0,0 coordinates.
Only horizontal orientation is supported.
参照
Rect