# VectorConfig

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/vector/VectorPainter.kt+class:androidx.compose.ui.graphics.vector.VectorConfig) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0) Common/All
- Cmn

  ```
  interface VectorConfig
  ```

*** ** * ** ***

Holds a set of values that overwrite the original property values of an `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector`. This allows you to dynamically change any of the property values provided as `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty`. This can be passed to `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/RenderVectorGroup.composable#RenderVectorGroup(androidx.compose.ui.graphics.vector.VectorGroup,kotlin.collections.Map)` to alter some property values when the `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorGroup` is rendered.

## Summary

| ### Public functions |
|---|---|---|
| `open T` | `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorConfig#getOrDefault(androidx.compose.ui.graphics.vector.VectorProperty,kotlin.Any)(property: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/VectorProperty<T>, defaultValue: T)` | Cmn |

## Public functions

### getOrDefault

Cmn Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

```
open fun <T : Any?> getOrDefault(property: VectorProperty<T>, defaultValue: T): T
```