# RemoteTextButtonShapes

> Represents the shapes used for [RemoteTextButton] in various states.

## API Reference

> Source set: Android

```kotlin
public class RemoteTextButtonShapes(
    public val shape: RemoteShape,
    public val pressedShape: RemoteShape = shape,
)
```

Represents the shapes used for [RemoteTextButton](https://composables.com/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteTextButton/api.md) in various states.

When `pressedShape` differs from `shape`, [RemoteTextButton](https://composables.com/jetpack-compose/androidx.wear.compose.remote/remote-material3/composable-functions/RemoteTextButton/api.md) animates to `pressedShape` while it
is pressed. The press animation requires both shapes to be `RemoteRoundedCornerShape`s and the
text button to be enabled with a constant value.

#### Parameters

| | |
| --- | --- |
| shape | the shape of the text button when not pressed. |
| pressedShape | the shape of the text button when pressed. |

## Functions

### copy

> Source set: Android

```kotlin
public fun copy(
        shape: RemoteShape = this.shape,
        pressedShape: RemoteShape = this.pressedShape,
    ): RemoteTextButtonShapes
```

Returns a copy of this [RemoteTextButtonShapes](https://composables.com/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteTextButtonShapes/api.md), optionally overriding some of the values.

#### Parameters

| | |
| --- | --- |
| shape | the shape of the text button when not pressed. |
| pressedShape | the shape of the text button when pressed. |

#### Return

a copy of this [RemoteTextButtonShapes](https://composables.com/jetpack-compose/androidx.wear.compose.remote/remote-material3/classes/RemoteTextButtonShapes/api.md) with the specified values overridden

### equals

> Source set: Android

```kotlin
override fun equals(other: Any?): Boolean
```

### hashCode

> Source set: Android

```kotlin
override fun hashCode(): Int
```
