class ProgressIndicatorColors


Represents the indicator and track colors used in progress indicator.

Summary

Public constructors

ProgressIndicatorColors(
    indicatorColor: LayoutColor,
    trackColor: LayoutColor,
    trackOverflowColor: LayoutColor
)

Public functions

ProgressIndicatorColors
copy(
    indicatorColor: LayoutColor,
    trackColor: LayoutColor,
    trackOverflowColor: LayoutColor
)

Returns a copy of this ProgressIndicatorColors, optionally overriding some of the values.

Public properties

LayoutColor

Color used to draw the indicator of progress indicator.

LayoutColor

Color used to draw the track of progress indicator.

LayoutColor

Color used to draw the track for progress overflow (>1).

Public constructors

ProgressIndicatorColors

Added in 1.3.0-alpha10
ProgressIndicatorColors(
    indicatorColor: LayoutColor,
    trackColor: LayoutColor,
    trackOverflowColor: LayoutColor = trackColor
)
Parameters
indicatorColor: LayoutColor

Color used to draw the indicator of progress indicator.

trackColor: LayoutColor

Color used to draw the track of progress indicator.

trackOverflowColor: LayoutColor = trackColor

Color used to draw the track for progress overflow (>1).

Public functions

copy

Added in 1.3.0-alpha10
fun copy(
    indicatorColor: LayoutColor = this.indicatorColor,
    trackColor: LayoutColor = this.trackColor,
    trackOverflowColor: LayoutColor = this.trackOverflowColor
): ProgressIndicatorColors

Returns a copy of this ProgressIndicatorColors, optionally overriding some of the values.

Parameters
indicatorColor: LayoutColor = this.indicatorColor

Color used to draw the indicator of progress indicator.

trackColor: LayoutColor = this.trackColor

Color used to draw the track of progress indicator.

trackOverflowColor: LayoutColor = this.trackOverflowColor

Color used to draw the track for progress overflow (>1).

Public properties

indicatorColor

Added in 1.3.0-alpha10
val indicatorColorLayoutColor

Color used to draw the indicator of progress indicator.

trackColor

Added in 1.3.0-alpha10
val trackColorLayoutColor

Color used to draw the track of progress indicator.

trackOverflowColor

Added in 1.3.0-alpha10
val trackOverflowColorLayoutColor

Color used to draw the track for progress overflow (>1).