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.

As this describes the overall ripple theme, and the inset ring colors are use-site specific, the colors are configured in RippleConfiguration.Focus.InsetRing instead.

Summary

Public constructors

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

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Dp

the amount the inner stroke is inset

Cmn
Dp

the width of the inner stroke

Cmn
Dp

the amount the outer stroke is inset

Cmn
Dp

the width of the outer stroke

Cmn

Public constructors

InsetRing

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

the amount the outer stroke is inset

outerStrokeWidth: Dp

the width of the outer stroke

innerStrokeInset: Dp

the amount the inner stroke is inset

innerStrokeWidth: Dp

the width of the inner stroke

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

innerStrokeInset

val innerStrokeInsetDp

the amount the inner stroke is inset

innerStrokeWidth

val innerStrokeWidthDp

the width of the inner stroke

outerStrokeInset

val outerStrokeInsetDp

the amount the outer stroke is inset

outerStrokeWidth

val outerStrokeWidthDp

the width of the outer stroke