🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

RippleThemeConfiguration.Focus

The configuration options for the focus indication for RippleThemeConfiguration.

Source set: Common
public sealed class Focus private constructor()

The configuration options for the focus indication for RippleThemeConfiguration.

Members

Opacity

Source set: Common
public object Opacity : Focus()

An opacity-based focus indication.

InsetRing

Source set: Common
public class InsetRing(
            public val outerStrokeInset: Dp,
            public val outerStrokeWidth: Dp,
            public val innerStrokeInset: Dp,
            public val innerStrokeWidth: Dp,
        ) : 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 the overall ripple theme, and the inset ring colors are use-site specific, the colors are configured in RippleConfiguration.Focus.InsetRing instead.

Parameters

outerStrokeInset the amount the outer stroke is inset
outerStrokeWidth the width of the outer stroke
innerStrokeInset the amount the inner stroke is inset
innerStrokeWidth the width of the inner stroke

Functions

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int