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

indicatorColor Color used to draw the indicator of LevelIndicator.
trackColor Color used to draw the track of LevelIndicator.
disabledIndicatorColor Color used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColor Color 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

indicatorColor Color used to draw the indicator of LevelIndicator.
trackColor Color used to draw the track of LevelIndicator.
disabledIndicatorColor Color used to draw the indicator of LevelIndicator when it is not enabled.
disabledTrackColor Color used to draw the track of LevelIndicator when it is not enabled.