ProgressIndicatorColors
public final class ProgressIndicatorColors
Represents the indicator and track colors used in progress indicator.
Summary
Public constructors |
|---|
ProgressIndicatorColors( |
Public methods |
|
|---|---|
final @NonNull ProgressIndicatorColors |
copy(Returns a copy of this |
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
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
copy
public final @NonNull ProgressIndicatorColors copy(
@NonNull LayoutColor indicatorColor,
@NonNull LayoutColor trackColor,
@NonNull LayoutColor trackOverflowColor
)
Returns a copy of this ProgressIndicatorColors, optionally overriding some of the values.
| 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). |
getIndicatorColor
public final @NonNull LayoutColor getIndicatorColor()
Color used to draw the indicator of progress indicator.
getTrackColor
public final @NonNull LayoutColor getTrackColor()
Color used to draw the track of progress indicator.
getTrackOverflowColor
public final @NonNull LayoutColor getTrackOverflowColor()
Color used to draw the track for progress overflow (>1).