> Documentation index: https://developer.android.com/reference/llms.txt

# RemoteTextConfiguration

Artifact: [androidx.wear.compose.remote:remote-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/remote/material3/RemoteText.kt+class:androidx.wear.compose.remote.material3.RemoteTextConfiguration) Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)


```
class RemoteTextConfiguration
```

<br />

*** ** * ** ***

Class representing aspects of `RemoteText` that can be configured with `LocalRemoteTextConfiguration`.

## Summary

| ### Public constructors |
|---|
| `RemoteTextConfiguration( textAlign: RemoteTextAlign?, overflow: RemoteTextOverflow, maxLines: Int )` |

| ### Public functions |
|---|---|
| `open operator Boolean` | `equals(other: Any?)` |
| `open Int` | `hashCode()` |

| ### Public properties |
|---|---|
| `Int` | `maxLines` The maximum number of lines for the text to span, wrapping if necessary. |
| `RemoteTextOverflow` | `overflow` How visual overflow should be handled. |
| `RemoteTextAlign?` | `textAlign` The alignment of the text within the lines of the paragraph. |

## Public constructors

### RemoteTextConfiguration

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
RemoteTextConfiguration(
    textAlign: RemoteTextAlign?,
    overflow: RemoteTextOverflow,
    maxLines: Int
)
```

| Parameters |
|---|---|
| `textAlign: RemoteTextAlign?` | The alignment of the text within the lines of the paragraph. |
| `overflow: RemoteTextOverflow` | How visual overflow should be handled. |
| `maxLines: Int` | The maximum number of lines for the text to span, wrapping if necessary. |

## Public functions

### equals

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

### hashCode

```
open fun hashCode(): Int
```

## Public properties

### maxLines

Added in [1.0.0-alpha16](https://developer.android.com/jetpack/androidx/releases/wear-compose-remote.md.txt#1.0.0-alpha16)

```
val maxLines: Int
```

The maximum number of lines for the text to span, wrapping if necessary.

### overflow

```
val overflow: RemoteTextOverflow
```

How visual overflow should be handled.

### textAlign

```
val textAlign: RemoteTextAlign?
```

The alignment of the text within the lines of the paragraph.