TextIndent
Kotlin
|Java
@Immutable data class TextIndent
kotlin.Any | |
↳ | androidx.compose.ui.text.style.TextIndent |
Specify the indentation of a paragraph.
Summary
Public constructors | |
---|---|
Specify the indentation of a paragraph. |
Properties | |
---|---|
TextUnit |
the amount of indentation applied to the first line. |
TextUnit |
the amount of indentation applied to every line except the first line. |
Companion properties | |
---|---|
TextIndent |
Constant fot no text indent. |
Public constructors
<init>
TextIndent(
firstLine: TextUnit = 0.sp,
restLine: TextUnit = 0.sp)
Specify the indentation of a paragraph.
Parameters | |
---|---|
firstLine: TextUnit = 0.sp | the amount of indentation applied to the first line. |
restLine: TextUnit = 0.sp | the amount of indentation applied to every line except the first line. |
Properties
restLine
val restLine: TextUnit
the amount of indentation applied to every line except the first line.