# RemoteTextDecoration

> Defines a horizontal line to be drawn on Remote Compose text.

## API Reference

> Source set: JvmAndAndroid

```kotlin
public class RemoteTextDecoration internal constructor(internal val mask: Int)
```

Defines a horizontal line to be drawn on Remote Compose text.

## Functions

### plus

> Source set: JvmAndAndroid

```kotlin
public operator fun plus(decoration: RemoteTextDecoration): RemoteTextDecoration
```

Creates a decoration that includes all the decorations in both this and `decoration`.

#### Return

a [RemoteTextDecoration](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteTextDecoration/api.md) combining this decoration and `decoration`

### contains

> Source set: JvmAndAndroid

```kotlin
public operator fun contains(other: RemoteTextDecoration): Boolean
```

Check whether this [RemoteTextDecoration](https://composables.com/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteTextDecoration/api.md) contains the given `other` decoration.

#### Return

`true` if this decoration includes all decorations in `other`, `false` otherwise

### toString

> Source set: JvmAndAndroid

```kotlin
override fun toString(): String
```

## Members

### Companion

> Source set: JvmAndAndroid

```kotlin
public companion object
```

## Properties

### None

> Source set: JvmAndAndroid

```kotlin
@Stable public val None: RemoteTextDecoration = RemoteTextDecoration(0x0)
```

Do not draw a decoration.

### Underline

> Source set: JvmAndAndroid

```kotlin
@Stable public val Underline: RemoteTextDecoration = RemoteTextDecoration(0x1)
```

Draws a horizontal line below the text.

### LineThrough

> Source set: JvmAndAndroid

```kotlin
@Stable public val LineThrough: RemoteTextDecoration = RemoteTextDecoration(0x2)
```

Draws a horizontal line over the text.
