TextIndent


Indents paragraph lines.

Summary

Public companion properties

TextIndent

Default configuration representing 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

indentation amount for the first line

Cmn
TextUnit

indentation amount for all lines except the first

Cmn

Public companion properties

None

val NoneTextIndent

Default configuration representing no text indent.

Public constructors

TextIndent

TextIndent(firstLine: TextUnit = 0.sp, restLine: TextUnit = 0.sp)
Parameters
firstLine: TextUnit = 0.sp

indentation amount for the first line

restLine: TextUnit = 0.sp

indentation amount for all lines except the first

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

indentation amount for the first line

restLine

val restLineTextUnit

indentation amount for all lines except the first