# RippleConfiguration.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.RippleConfiguration.Focus.InsetRing) Added in [1.8.0-alpha03](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.8.0-alpha03)


```
class RippleConfiguration.Focus.InsetRing : RippleConfiguration.Focus
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.wear.compose.material3.RippleConfiguration.Focus](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.Focus) ||
|   | ↳ | [androidx.wear.compose.material3.RippleConfiguration.Focus.InsetRing](https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.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.

As this describes a use-site specific override, this provides coloring overrides for an inset focus ring being drawn by an individual component. The inset ring dimensions are controlled by `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleThemeConfiguration.Focus.InsetRing` instead.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.Focus.InsetRing#InsetRing(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)(outerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, innerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color)` |

| ### 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/RippleConfiguration.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/RippleConfiguration.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/RippleConfiguration.Focus.InsetRing#toString()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.Focus.InsetRing#innerStrokeColor()` the color of the inner stroke. |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/wear/compose/material3/RippleConfiguration.Focus.InsetRing#outerStrokeColor()` the color 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(
    outerStrokeColor: Color = Color.Unspecified,
    innerStrokeColor: Color = Color.Unspecified
)
```

| Parameters |
|---|---|
| `outerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of the outer stroke. If `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#Unspecified()`, then the default color from the theme will be used instead. |
| `innerStrokeColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of the inner stroke. If `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#Unspecified()`, then the default color from the theme will be used instead. |

## Public functions

### equals

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

### hashCode

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

### toString

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

## Public properties

### innerStrokeColor

```
val innerStrokeColor: Color
```

the color of the inner stroke. If `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#Unspecified()`, then the default color from the theme will be used instead.

### outerStrokeColor

```
val outerStrokeColor: Color
```

the color of the outer stroke. If `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#Unspecified()`, then the default color from the theme will be used instead.