# ProgressIndicatorColors

# 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)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/protolayout/material3/ProgressIndicatorColors "View this page in Java")

<br />

```
class ProgressIndicatorColors
```

<br />

*** ** * ** ***

Represents the indicator and track colors used in progress indicator.

## Summary

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

|                                                         ### Public functions                                                          |
|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors) | [copy](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors#copy(androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor,androidx.wear.protolayout.types.LayoutColor))`(` ` indicatorColor: `[LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor)`,` ` trackColor: `[LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor)`,` ` trackOverflowColor: `[LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor) `)` Returns a copy of this[ProgressIndicatorColors](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors), optionally overriding some of the values. |

|                                           ### Public properties                                           |
|-----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor) | [indicatorColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors#indicatorColor()) Color used to draw the indicator of progress indicator.           |
| [LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor) | [trackColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors#trackColor()) Color used to draw the track of progress indicator.                       |
| [LayoutColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/types/LayoutColor) | [trackOverflowColor](https://developer.android.com/reference/kotlin/androidx/wear/protolayout/material3/ProgressIndicatorColors#trackOverflowColor()) 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)  

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

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

## Public functions

### copy

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

```
fun copy(
    indicatorColor: LayoutColor = this.indicatorColor,
    trackColor: LayoutColor = this.trackColor,
    trackOverflowColor: LayoutColor = this.trackOverflowColor
): ProgressIndicatorColors
```

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

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

## Public properties

### indicatorColor

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

```
val indicatorColor: LayoutColor
```

Color used to draw the indicator of progress indicator.  

### trackColor

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

```
val trackColor: LayoutColor
```

Color used to draw the track of progress indicator.  

### trackOverflowColor

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

```
val trackOverflowColor: LayoutColor
```

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