public sealed class Focus private constructor()
The configuration options for the focus indication for RippleConfiguration.
Members
Opacity
public object Opacity : Focus()
An opacity-based focus indication.
This describes a user-site specific override for when opacity layer-based focus visuals are used. Currently, there are no configuration options for opacity.
InsetRing
public class InsetRing(
public val outerStrokeColor: Color,
public val innerStrokeColor: Color,
) : 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.
Parameters
| outerStrokeColor | the color of the outer stroke. |
| innerStrokeColor | the color of the inner stroke. |
Functions
equals
override fun equals(other: Any?): Boolean
hashCode
override fun hashCode(): Int