<div class='type'>Composable Function</div>


<a id='references'></a>



<h2 id="rememberanimatedvectorpainter-animatedimagevector-atend">rememberAnimatedVectorPainter</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
public fun rememberAnimatedVectorPainter(
    animatedImageVector: AnimatedImageVector,
    atEnd: Boolean,
): Painter
```


Creates and remembers a `Painter` to render an `AnimatedImageVector`. It renders the image either
at the start or the end of all the animations depending on the `atEnd`. Changes to `atEnd` are
animated.

#### Parameters

| | |
| --- | --- |
| `animatedImageVector` | An `AnimatedImageVector` object to be remembered and animated. |
| atEnd | Whether the animated vector should be rendered at the end of all its animations. |