TextIndent

Class

Common
class TextIndent(val firstLine: TextUnit = 0.sp, val restLine: TextUnit = 0.sp)

Specify the indentation of a paragraph.

Parameters

firstLinethe amount of indentation applied to the first line.
restLinethe amount of indentation applied to every line except the first line.

Functions

fun copy(firstLine: TextUnit = this.firstLine, restLine: TextUnit = this.restLine): TextIndent

Companion Object

Properties

Common
val None = TextIndent()

Constant fot no text indent.