# ChipElevation

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.ChipElevation) Common/AllAndroid/JVM
- Cmn

  ```
  class ChipElevation
  ```

*** ** * ** ***

Represents the elevation used in a selectable chip in different states.

Note that this default implementation does not take into consideration the `selectable` state passed into its `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#shadowElevation(kotlin.Boolean,androidx.compose.foundation.interaction.InteractionSource)`. If you wish to apply that state, use a different `https://developer.android.com/reference/kotlin/androidx/compose/material3/SelectableChipElevation`.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#ChipElevation(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)( elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, pressedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, focusedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, hoveredElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, draggedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, disabledElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp )` | Cmn |

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#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/ChipElevation#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#disabledElevation()` the elevation used when the chip is not enabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#draggedElevation()` the elevation used when the chip is dragged | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#elevation()` the elevation used when the chip is enabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#focusedElevation()` the elevation used when the chip is focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#hoveredElevation()` the elevation used when the chip is hovered | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ChipElevation#pressedElevation()` the elevation used when the chip is pressed. | Cmn |

## Public constructors

### ChipElevation

Cmn

```
ChipElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp,
    draggedElevation: Dp,
    disabledElevation: Dp
)
```

| Parameters |
|---|---|
| `elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is enabled. |
| `pressedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is pressed. |
| `focusedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is focused |
| `hoveredElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is hovered |
| `draggedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is dragged |
| `disabledElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the elevation used when the chip is not enabled |

## Public functions

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### disabledElevation

Cmn

```
val disabledElevation: Dp
```

the elevation used when the chip is not enabled

### draggedElevation

Cmn

```
val draggedElevation: Dp
```

the elevation used when the chip is dragged

### elevation

Cmn

```
val elevation: Dp
```

the elevation used when the chip is enabled.

### focusedElevation

Cmn

```
val focusedElevation: Dp
```

the elevation used when the chip is focused

### hoveredElevation

Cmn

```
val hoveredElevation: Dp
```

the elevation used when the chip is hovered

### pressedElevation

Cmn

```
val pressedElevation: Dp
```

the elevation used when the chip is pressed.