# RippleNodeConfiguration.FocusConfiguration.Opacity

Artifact: [androidx.compose.material3:material3-ripple](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/ripple/RippleNodeConfiguration.kt+class:androidx.compose.material3.ripple.RippleNodeConfiguration.FocusConfiguration.Opacity) Common/All
- Cmn

  ```
  class RippleNodeConfiguration.FocusConfiguration.Opacity : RippleNodeConfiguration.FocusConfiguration
  ```

*** ** * ** ***

An opacity-based focus visual.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.Opacity#Opacity(kotlin.Float)(alpha: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | 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/ripple/RippleNodeConfiguration.FocusConfiguration.Opacity#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/ripple/RippleNodeConfiguration.FocusConfiguration.Opacity#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.Opacity#alpha()` the alpha to apply to the layer. | Cmn |

## Public constructors

### Opacity

Cmn

```
Opacity(alpha: @FloatRange(from = 0.0, to = 1.0) Float)
```

| Parameters |
|---|---|
| `alpha: @https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0.0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the alpha to apply to the layer. |

## Public functions

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### alpha

Cmn

```
val alpha: Float
```

the alpha to apply to the layer.