# IconToggleButtonShapes

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/IconButton.kt+class:androidx.compose.material3.IconToggleButtonShapes) Common/AllAndroid/JVM
- Cmn

  ```
  class IconToggleButtonShapes
  ```

*** ** * ** ***

The shapes that will be used in toggle buttons. Toggle button will morph between these three shapes depending on the interaction of the toggle button, 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/IconToggleButtonShapes#IconToggleButtonShapes(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, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, checkedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape )` | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/IconToggleButtonShapes` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/IconToggleButtonShapes#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?, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, checkedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?)` Returns a copy of this IconButtonShapes, 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/IconToggleButtonShapes#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/IconToggleButtonShapes#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/IconToggleButtonShapes#checkedShape()` is the checked shape. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/IconToggleButtonShapes#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/IconToggleButtonShapes#shape()` is the unchecked shape. | Cmn |

## Public constructors

### IconToggleButtonShapes

Cmn

```
IconToggleButtonShapes(
    shape: Shape,
    pressedShape: Shape = shape,
    checkedShape: Shape = shape
)
```

## Public functions

### copy

Cmn

```
fun copy(
    shape: Shape? = this.shape,
    pressedShape: Shape? = this.pressedShape,
    checkedShape: Shape? = this.checkedShape
): IconToggleButtonShapes
```

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

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### checkedShape

Cmn

```
val checkedShape: Shape
```

is the checked shape.

### pressedShape

Cmn

```
val pressedShape: Shape
```

is the pressed shape.

### shape

Cmn

```
val shape: Shape
```

is the unchecked shape.