LevelIndicatorColors

Class

Android
public class LevelIndicatorColors(
    public val indicatorColor: Color,
    public val trackColor: Color,
    public val disabledIndicatorColor: Color,
    public val disabledTrackColor: Color,
)

Represents the indicator and track colors used in LevelIndicator.

Parameters

indicatorColorColor used to draw the indicator of LevelIndicator.
trackColorColor used to draw the track of LevelIndicator.
disabledIndicatorColorColor used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColorColor used to draw the track of LevelIndicator when it is not enabled.

Functions

public fun copy(
        indicatorColor: Color = this.indicatorColor,
        trackColor: Color = this.trackColor,
        disabledIndicatorColor: Color = this.disabledIndicatorColor,
        disabledTrackColor: Color = this.disabledTrackColor,
    ): LevelIndicatorColors

Returns a copy of this LevelIndicatorColors optionally overriding some of the values.

Parameters

indicatorColorColor used to draw the indicator of LevelIndicator.
trackColorColor used to draw the track of LevelIndicator.
disabledIndicatorColorColor used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColorColor used to draw the track of LevelIndicator when it is not enabled.