Source set: Android
public class InsetRing(
public val outerStrokeColor: Color = Color.Unspecified,
public val innerStrokeColor: Color = Color.Unspecified,
) : 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. If Color.Unspecified, then the default color from the theme will be used instead. |
| innerStrokeColor | the color of the inner stroke. If Color.Unspecified, then the default color from the theme will be used instead. |
Functions
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int
toString
Source set: Android
override fun toString(): String