LevelIndicatorColors

class LevelIndicatorColors


Represents the indicator and track colors used in LevelIndicator.

Summary

Public constructors

LevelIndicatorColors(
    indicatorColor: Color,
    trackColor: Color,
    disabledIndicatorColor: Color,
    disabledTrackColor: Color
)

Public functions

LevelIndicatorColors
copy(
    indicatorColor: Color,
    trackColor: Color,
    disabledIndicatorColor: Color,
    disabledTrackColor: Color
)

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

open operator Boolean
equals(other: Any?)
open Int

Public properties

Color

Color used to draw the indicator of LevelIndicator when it is not enabled.

Color

Color used to draw the track of LevelIndicator when it is not enabled.

Color

Color used to draw the indicator of LevelIndicator.

Color

Color used to draw the track of LevelIndicator.

Public constructors

LevelIndicatorColors

Added in 1.5.0
LevelIndicatorColors(
    indicatorColor: Color,
    trackColor: Color,
    disabledIndicatorColor: Color,
    disabledTrackColor: Color
)
Parameters
indicatorColor: Color

Color used to draw the indicator of LevelIndicator.

trackColor: Color

Color used to draw the track of LevelIndicator.

disabledIndicatorColor: Color

Color used to draw the indicator of LevelIndicator when it is not enabled.

disabledTrackColor: Color

Color used to draw the track of LevelIndicator when it is not enabled.

Public functions

copy

Added in 1.6.0
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 = this.indicatorColor

Color used to draw the indicator of LevelIndicator.

trackColor: Color = this.trackColor

Color used to draw the track of LevelIndicator.

disabledIndicatorColor: Color = this.disabledIndicatorColor

Color used to draw the indicator of LevelIndicator when it is not enabled.

disabledTrackColor: Color = this.disabledTrackColor

Color used to draw the track of LevelIndicator when it is not enabled.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

disabledIndicatorColor

val disabledIndicatorColor: Color

Color used to draw the indicator of LevelIndicator when it is not enabled.

disabledTrackColor

val disabledTrackColor: Color

Color used to draw the track of LevelIndicator when it is not enabled.

indicatorColor

val indicatorColor: Color

Color used to draw the indicator of LevelIndicator.

trackColor

val trackColor: Color

Color used to draw the track of LevelIndicator.