# RippleThemeConfiguration.Focus.InsetRing

Artifact: [androidx.wear.compose:compose-material3](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material3/Ripple.kt+class:androidx.wear.compose.material3.RippleThemeConfiguration.Focus.InsetRing) Added in [1.8.0-alpha03](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.8.0-alpha03)


```
class RippleThemeConfiguration.Focus.InsetRing : RippleThemeConfiguration.Focus
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.wear.compose.material3.RippleThemeConfiguration.Focus](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus) ||
|   | ↳ | [androidx.wear.compose.material3.RippleThemeConfiguration.Focus.InsetRing](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing) |

*** ** * ** ***

An inset ring focus indication. This is drawn using two strokes, an outer stroke and an inner stroke. The inner stroke is drawn first, followed by the outer stroke.

All stroke insets and widths must be non-negative, and the outer and inner strokes must overlap such that the outer stroke is not inset further than the inner stroke (`outerStrokeInset <= innerStrokeInset`), the inner stroke starts before or at the inner edge of the outer stroke (`innerStrokeInset <= outerStrokeInset + outerStrokeWidth`), and the inner stroke extends at least as far inward as the outer stroke (`outerStrokeInset + outerStrokeWidth <= innerStrokeInset + innerStrokeWidth`).

As this describes the overall ripple theme, and the inset ring colors are use-site specific, the colors are configured in `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.Focus.InsetRing` instead.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#InsetRing(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)( outerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, outerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, innerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, innerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#toString()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#innerStrokeInset()` the amount the inner stroke is inset |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#innerStrokeWidth()` the width of the inner stroke |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#outerStrokeInset()` the amount the outer stroke is inset |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing#outerStrokeWidth()` the width of the outer stroke |

## Public constructors

### InsetRing

Added in [1.8.0-alpha03](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.8.0-alpha03)

```
InsetRing(
    outerStrokeInset: Dp,
    outerStrokeWidth: Dp,
    innerStrokeInset: Dp,
    innerStrokeWidth: Dp
)
```

| Parameters |
|---|---|
| `outerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the amount the outer stroke is inset |
| `outerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the width of the outer stroke |
| `innerStrokeInset: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the amount the inner stroke is inset |
| `innerStrokeWidth: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | the width of the inner stroke |

## Public functions

### equals

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

### hashCode

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

### toString

```
open fun toString(): String
```

## Public properties

### innerStrokeInset

```
val innerStrokeInset: Dp
```

the amount the inner stroke is inset

### innerStrokeWidth

```
val innerStrokeWidth: Dp
```

the width of the inner stroke

### outerStrokeInset

```
val outerStrokeInset: Dp
```

the amount the outer stroke is inset

### outerStrokeWidth

```
val outerStrokeWidth: Dp
```

the width of the outer stroke