LevelIndicatorColors
class LevelIndicatorColors
Represents the indicator and track colors used in LevelIndicator.
Summary
Public constructors |
|---|
LevelIndicatorColors( |
Public functions |
|
|---|---|
LevelIndicatorColors |
copy(Returns a copy of this LevelIndicatorColors optionally overriding some of the values. |
open operator Boolean |
|
open Int |
hashCode() |
Public properties |
|
|---|---|
Color |
Color used to draw the indicator of |
Color |
Color used to draw the track of |
Color |
Color used to draw the indicator of |
Color |
Color used to draw the track of |
Public constructors
LevelIndicatorColors
LevelIndicatorColors(
indicatorColor: Color,
trackColor: Color,
disabledIndicatorColor: Color,
disabledTrackColor: Color
)
| Parameters | |
|---|---|
indicatorColor: Color |
Color used to draw the indicator of |
trackColor: Color |
Color used to draw the track of |
disabledIndicatorColor: Color |
Color used to draw the indicator of |
disabledTrackColor: Color |
Color used to draw the track of |
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 |
trackColor: Color = this.trackColor |
Color used to draw the track of |
disabledIndicatorColor: Color = this.disabledIndicatorColor |
Color used to draw the indicator of |
disabledTrackColor: Color = this.disabledTrackColor |
Color used to draw the track of |
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.