TextIndent
Kotlin
|Java
@Immutable data class TextIndent
kotlin.Any | |
↳ | androidx.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. |
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.