sdk
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
sdk
sdk
/
com.m8test.script.core.api.ui.compose.text
/
TextStyle
/
setLineHeight
set
Line
Height
abstract
fun
setLineHeight
(
lineHeight
:
(
TextUnits
)
->
TextUnit
)
设置行高。
Parameters
line
Height
一个 lambda 表达式,接收
TextUnits
实例来创建指定单位的行高。
Samples
setLineHeight