public final class ProgressIndicatorColors


Represents the indicator and track colors used in progress indicator.

Summary

Public constructors

ProgressIndicatorColors(
    @NonNull LayoutColor indicatorColor,
    @NonNull LayoutColor trackColor,
    @NonNull LayoutColor trackOverflowColor
)

Public methods

final @NonNull LayoutColor

Color used to draw the indicator of progress indicator.

final @NonNull LayoutColor

Color used to draw the track of progress indicator.

final @NonNull LayoutColor

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

Public constructors

ProgressIndicatorColors

Added in 1.3.0-alpha07
public ProgressIndicatorColors(
    @NonNull LayoutColor indicatorColor,
    @NonNull LayoutColor trackColor,
    @NonNull LayoutColor trackOverflowColor
)
Parameters
@NonNull LayoutColor indicatorColor

Color used to draw the indicator of progress indicator.

@NonNull LayoutColor trackColor

Color used to draw the track of progress indicator.

@NonNull LayoutColor trackOverflowColor

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

Public methods

getIndicatorColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getIndicatorColor()

Color used to draw the indicator of progress indicator.

getTrackColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getTrackColor()

Color used to draw the track of progress indicator.

getTrackOverflowColor

Added in 1.3.0-alpha07
public final @NonNull LayoutColor getTrackOverflowColor()

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