# RippleNodeConfiguration.FocusConfiguration.InsetRing

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.InsetRing) Common/All
- Cmn

  ```
  class RippleNodeConfiguration.FocusConfiguration.InsetRing : RippleNodeConfiguration.FocusConfiguration
  ```

*** ** * ** ***

An inset ring focus visual - the created ripple will show an inset focus ring.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#InsetRing(androidx.compose.ui.graphics.Shape,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.ColorProducer,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.graphics.ColorProducer,androidx.compose.animation.core.FiniteAnimationSpec,androidx.compose.animation.core.FiniteAnimationSpec)( shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape, outerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, outerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, outerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer, innerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, innerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, innerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer, focusingAnimationSpec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>, unfocusingAnimationSpec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<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.InsetRing#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.InsetRing#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#focusingAnimationSpec()` the animation spec used when gaining focus. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#innerStrokeColor()` the color of the inner stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#innerStrokeInset()` the inset from the edge of the shape's outline to the outer edge of the inner stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#innerStrokeWidth()` the width of the inner stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#outerStrokeColor()` the color of the outer stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#outerStrokeInset()` the inset from the edge of the shape's outline to the outer edge of the outer stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#outerStrokeWidth()` the width of the outer stroke. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#shape()` the shape of the focus ring. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ripple/RippleNodeConfiguration.FocusConfiguration.InsetRing#unfocusingAnimationSpec()` the animation spec used when losing focus. | Cmn |

## Public constructors

### InsetRing

Cmn

```
InsetRing(
    shape: Shape,
    outerStrokeInset: Dp,
    outerStrokeWidth: Dp,
    outerStrokeColor: ColorProducer,
    innerStrokeInset: Dp,
    innerStrokeWidth: Dp,
    innerStrokeColor: ColorProducer,
    focusingAnimationSpec: FiniteAnimationSpec<Float>,
    unfocusingAnimationSpec: FiniteAnimationSpec<Float>
)
```

| Parameters |
|---|---|
| `shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | the shape of the focus ring. |
| `outerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the inset from the edge of the shape's outline to the outer edge of the outer stroke. |
| `outerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the width of the outer stroke. |
| `outerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer` | the color of the outer stroke. |
| `innerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the inset from the edge of the shape's outline to the outer edge of the inner stroke. |
| `innerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the width of the inner stroke. |
| `innerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/ColorProducer` | the color of the inner stroke. |
| `focusingAnimationSpec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | the animation spec used when gaining focus. |
| `unfocusingAnimationSpec: https://developer.android.com/reference/kotlin/androidx/compose/animation/core/FiniteAnimationSpec<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>` | the animation spec used when losing focus. |

## Public functions

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### focusingAnimationSpec

Cmn

```
val focusingAnimationSpec: FiniteAnimationSpec<Float>
```

the animation spec used when gaining focus.

### innerStrokeColor

Cmn

```
val innerStrokeColor: ColorProducer
```

the color of the inner stroke.

### innerStrokeInset

Cmn

```
val innerStrokeInset: Dp
```

the inset from the edge of the shape's outline to the outer edge of the inner stroke.

### innerStrokeWidth

Cmn

```
val innerStrokeWidth: Dp
```

the width of the inner stroke.

### outerStrokeColor

Cmn

```
val outerStrokeColor: ColorProducer
```

the color of the outer stroke.

### outerStrokeInset

Cmn

```
val outerStrokeInset: Dp
```

the inset from the edge of the shape's outline to the outer edge of the outer stroke.

### outerStrokeWidth

Cmn

```
val outerStrokeWidth: Dp
```

the width of the outer stroke.

### shape

Cmn

```
val shape: Shape
```

the shape of the focus ring.

### unfocusingAnimationSpec

Cmn

```
val unfocusingAnimationSpec: FiniteAnimationSpec<Float>
```

the animation spec used when losing focus.