# DragHandleColors

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

  ```
  class DragHandleColors
  ```

*** ** * ** ***

Specifies the colors that will be used in a drag handle in different states.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#DragHandleColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)(color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, pressedColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` | 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/DragHandleColors#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/DragHandleColors#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#color()` the default color of the drag handle when it's not being pressed. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#draggedColor()` the color of the drag handle when it's being dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#pressedColor()` the color of the drag handle when it's being pressed but not dragged, by default it will be the same as `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#draggedColor()`. | Cmn |

## Public constructors

### DragHandleColors

Cmn

```
DragHandleColors(color: Color, pressedColor: Color, draggedColor: Color)
```

| Parameters |
|---|---|
| `color: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the default color of the drag handle when it's not being pressed. |
| `pressedColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the drag handle when it's being pressed but not dragged, by default it will be the same as `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#draggedColor()`. |
| `draggedColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the drag handle when it's being dragged. |

## Public functions

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### color

Cmn

```
val color: Color
```

the default color of the drag handle when it's not being pressed.

### draggedColor

Cmn

```
val draggedColor: Color
```

the color of the drag handle when it's being dragged.

### pressedColor

Cmn

```
val pressedColor: Color
```

the color of the drag handle when it's being pressed but not dragged, by default it will be the same as `https://developer.android.com/reference/kotlin/androidx/compose/material3/DragHandleColors#draggedColor()`.