# ProgressIndicatorColors

Artifact: [androidx.wear.protolayout:protolayout-material3](https://developer.android.com/jetpack/androidx/releases/wear-protolayout) [View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/material3/CircularProgressIndicatorDefaults.kt+class:androidx.wear.protolayout.material3.ProgressIndicatorColors) Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

*** ** * ** ***


```
public final class ProgressIndicatorColors
```

<br />

*** ** * ** ***

Represents the indicator and track colors used in progress indicator.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors#ProgressIndicatorColors(androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor indicatorColor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackColor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackOverflowColor )` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors` | `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors#copy(androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor indicatorColor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackColor, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackOverflowColor )` Returns a copy of this `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors`, optionally overriding some of the values. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor` | `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors#getIndicatorColor()()` Color used to draw the indicator of progress indicator. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor` | `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors#getTrackColor()()` Color used to draw the track of progress indicator. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor` | `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors#getTrackOverflowColor()()` Color used to draw the track for progress overflow (\>1). |

## Public constructors

### ProgressIndicatorColors

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

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

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor indicatorColor` | Color used to draw the indicator of progress indicator. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackColor` | Color used to draw the track of progress indicator. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackOverflowColor` | Color used to draw the track for progress overflow (\>1). |

## Public methods

### copy

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
public final @NonNull ProgressIndicatorColors copy(
    @NonNull LayoutColor indicatorColor,
    @NonNull LayoutColor trackColor,
    @NonNull LayoutColor trackOverflowColor
)
```

Returns a copy of this `https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors`, optionally overriding some of the values.

| Parameters |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor indicatorColor` | Color used to draw the indicator of progress indicator. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackColor` | Color used to draw the track of progress indicator. |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/wear/protolayout/types/LayoutColor trackOverflowColor` | Color used to draw the track for progress overflow (\>1). |

### getIndicatorColor

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
public final @NonNull LayoutColor getIndicatorColor()
```

Color used to draw the indicator of progress indicator.

### getTrackColor

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
public final @NonNull LayoutColor getTrackColor()
```

Color used to draw the track of progress indicator.

### getTrackOverflowColor

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/wear-protolayout#1.3.0)

```
public final @NonNull LayoutColor getTrackOverflowColor()
```

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