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

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

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

Added in 1.0.0-alpha28
val disabledIndicatorColorColor

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

disabledTrackColor

Added in 1.0.0-alpha28
val disabledTrackColorColor

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

indicatorColor

Added in 1.0.0-alpha28
val indicatorColorColor

Color used to draw the indicator of LevelIndicator.

trackColor

Added in 1.0.0-alpha28
val trackColorColor

Color used to draw the track of LevelIndicator.