Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.plugin.game
/
love.yinlin.compose.game
/
Drawer
/
measureText
measure
Text
fun
measureText
(
textCache
:
TextDrawer.Cache
,
text
:
String
,
textHeight
:
Float
,
fontWeight
:
FontWeight
=
FontWeight.Light
,
fontStyle
:
FontStyle
=
FontStyle.Normal
,
letterSpacing
:
Float
=
0.0625f
,
fontIndex
:
Int
=
0
)
:
Paragraph