TextIndent


Specify the indentation of a paragraph.

Summary

Public companion properties

TextIndent

Constant fot no text indent.

Cmn

Public constructors

TextIndent(firstLine: TextUnit, restLine: TextUnit)
Cmn

Public functions

TextIndent
copy(firstLine: TextUnit, restLine: TextUnit)
Cmn
open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

TextUnit

the amount of indentation applied to the first line.

Cmn
TextUnit

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

Cmn

Public companion properties

None

val NoneTextIndent

Constant fot no text indent.

Public constructors

TextIndent

TextIndent(firstLine: TextUnit = 0.sp, restLine: TextUnit = 0.sp)
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.

Public functions

copy

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

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

firstLine

val firstLineTextUnit

the amount of indentation applied to the first line.

restLine

val restLineTextUnit

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