TextIndent

interface TextIndent : ComposableProperties<ERROR CLASS: Symbol not found for androidx.compose.ui.text.style.TextIndent>

用于定义段落缩进的接口。

此接口封装了 androidx.compose.ui.text.style.TextIndent,允许在自动化脚本中 分别指定段落首行和其他行的缩进量。

Author

M8Test, [email protected], https://m8test.com

See also

androidx.compose.ui.text.style.TextIndent

Functions

Link copied to clipboard
abstract fun setFirstLine(unit: (TextUnits) -> TextUnit)

设置段落首行的缩进量。

Link copied to clipboard
abstract fun setRestLine(unit: (TextUnits) -> TextUnit)

设置段落中除首行外的所有其他行的缩进量。