Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

TextIndent

@Immutable data class TextIndent
kotlin.Any
   ↳ androidx.compose.ui.text.style.TextIndent

Specify the indentation of a paragraph.

Summary

Public constructors
<init>(firstLine: TextUnit = 0.sp, restLine: TextUnit = 0.sp)

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

firstLine

val firstLine: TextUnit

the amount of indentation applied to the first line.

restLine

val restLine: TextUnit

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

Companion properties

None

@Stable val None: TextIndent

Constant fot no text indent.