RippleConfiguration.Focus.InsetRing

class RippleConfiguration.Focus.InsetRing : RippleConfiguration.Focus


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 RippleThemeConfiguration.Focus.InsetRing instead.

Summary

Public constructors

InsetRing(outerStrokeColor: Color, innerStrokeColor: Color)

Public functions

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

Public properties

Color

the color of the inner stroke.

Color

the color of the outer stroke.

Public constructors

InsetRing

Added in 1.8.0-alpha03
InsetRing(
    outerStrokeColor: Color = Color.Unspecified,
    innerStrokeColor: Color = Color.Unspecified
)
Parameters
outerStrokeColor: Color = Color.Unspecified

the color of the outer stroke. If Color.Unspecified, then the default color from the theme will be used instead.

innerStrokeColor: Color = Color.Unspecified

the color of the inner stroke. If 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 Color.Unspecified, then the default color from the theme will be used instead.

outerStrokeColor

val outerStrokeColor: Color

the color of the outer stroke. If Color.Unspecified, then the default color from the theme will be used instead.