androidx.compose.material3

InsetRingSince 1.12

Class

No hand-written docs yet.

An inset ring focus indication. This is drawn using two strokes, an outer stroke and an inner stroke.

class InsetRing(
    outerStrokeInset: Dp,
    outerStrokeWidth: Dp,
    innerStrokeInset: Dp,
    innerStrokeWidth: Dp,
) : Focus

Is a

How to get one

Create it

Properties

outerStrokeInset

val outerStrokeInset: Dp

outerStrokeWidth

val outerStrokeWidth: Dp

innerStrokeInset

val innerStrokeInset: Dp

innerStrokeWidth

val innerStrokeWidth: Dp
Library docs

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.