# AnimatedImageVector

# AnimatedImageVector

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

  ```
  class AnimatedImageVector
  ```

*** ** * ** ***

Animated vector graphics object that is generated as a result of androidx.compose.animation.graphics.res.loadAnimatedVectorResource. It can be composed and rendered by`rememberAnimatedVectorPainter`.

## Summary

|                                                                                                                     ### Nested types                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `object `[AnimatedImageVector.Companion](https://developer.android.com/reference/kotlin/androidx/compose/animation/graphics/vector/AnimatedImageVector.Companion) Provide an empty companion object to hang platform-specific companion extensions onto. |

|                                             ### Public properties                                             |
|---------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [ImageVector](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector) | [imageVector](https://developer.android.com/reference/kotlin/androidx/compose/animation/graphics/vector/AnimatedImageVector#imageVector()) The[ImageVector](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector)to be animated. | Cmn |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                   | [totalDuration](https://developer.android.com/reference/kotlin/androidx/compose/animation/graphics/vector/AnimatedImageVector#totalDuration()) The total duration of all the animations in this image, including start delays and repeats.                                 | Cmn |

## Public properties

### imageVector

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

```
val imageVector: ImageVector
```

The[ImageVector](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector)to be animated. This is represented with the`android:drawable`parameter of an`<animated-vector>`element.  

### totalDuration

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

```
val totalDuration: Int
```

The total duration of all the animations in this image, including start delays and repeats.