---
title: "TextIndent"
description: "Specify the indentation of a paragraph."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


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


Specify the indentation of a paragraph.

#### Parameters

| | |
| --- | --- |
| firstLine | the amount of indentation applied to the first line. |
| restLine | the amount of indentation applied to every line except the first line. |



## Functions

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

## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val None = TextIndent()
```


Constant fot no text indent.





