public final class ProgressIndicatorColors


Represents the indicator and track colors used in progress indicator.

Summary

Public constructors

ProgressIndicatorColors(
    @NonNull LayoutColor indicator,
    @NonNull LayoutColor track,
    @NonNull LayoutColor trackOverflow
)

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-alpha06
public ProgressIndicatorColors(
    @NonNull LayoutColor indicator,
    @NonNull LayoutColor track,
    @NonNull LayoutColor trackOverflow
)
Parameters
@NonNull LayoutColor indicator

Color used to draw the indicator of progress indicator.

@NonNull LayoutColor track

Color used to draw the track of progress indicator.

@NonNull LayoutColor trackOverflow

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

Public methods

getIndicator

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getIndicator()

Color used to draw the indicator of progress indicator.

getTrack

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getTrack()

Color used to draw the track of progress indicator.

getTrackOverflow

Added in 1.3.0-alpha06
public final @NonNull LayoutColor getTrackOverflow()

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