Xerr API
Toggle table of contents
2.1.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Xerr API
Xerr API
/
com.hiusers.xerr.api.container
/
RegexContainer
/
getWidth
get
Width
fun
getWidth
(
char
:
Char
,
fontId
:
String
?
=
null
)
:
Int
(
source
)
获取指定字体下的字符宽度并缓存结果。 Gets and caches the character width for the selected font.