# ChipShapes

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/Chip.kt+class:androidx.compose.material3.ChipShapes) Common/AllAndroid/JVM
- Cmn

  ```
  class ChipShapes
  ```

*** ** * ** ***

The shapes that will be used in chips. Chip will morph between these shapes depending on the state of the chip, assuming all of the shapes are `https://developer.android.com/reference/kotlin/androidx/compose/foundation/shape/CornerBasedShape`s.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#ChipShapes(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)(shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, selectedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape)` | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#copy(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)(shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, selectedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?)` Returns a copy of this ChipShapes, optionally overriding some of the values. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#pressedShape()` is the pressed shape. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#selectedShape()` is the selected shape. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipShapes#shape()` is the active shape. | Cmn |

## Public constructors

### ChipShapes

Cmn

```
ChipShapes(
    shape: Shape,
    selectedShape: Shape,
    pressedShape: Shape = selectedShape
)
```

## Public functions

### copy

Cmn

```
fun copy(
    shape: Shape? = this.shape,
    selectedShape: Shape? = this.selectedShape,
    pressedShape: Shape? = this.pressedShape
): ChipShapes
```

Returns a copy of this ChipShapes, optionally overriding some of the values.

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### pressedShape

Cmn

```
val pressedShape: Shape
```

is the pressed shape.

### selectedShape

Cmn

```
val selectedShape: Shape
```

is the selected shape.

### shape

Cmn

```
val shape: Shape
```

is the active shape.