---
title: "VectorizedTweenSpec"
description: "[VectorizedTweenSpec] animates a [AnimationVector] value by interpolating the start and end
value, in the given [durationMillis] using the given [easing] curve."
type: "class"
---

<div class='type'>Class</div>


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

<div class='sourceset sourceset-common'>Common</div>


```kotlin
public class VectorizedTweenSpec<V : AnimationVector>(
    override val durationMillis: Int = DefaultDurationMillis,
    override val delayMillis: Int = 0,
    public val easing: Easing = FastOutSlowInEasing,
) : VectorizedDurationBasedAnimationSpec<V>
```


`VectorizedTweenSpec` animates a `AnimationVector` value by interpolating the start and end
value, in the given `durationMillis` using the given `easing` curve.

#### Parameters

| | |
| --- | --- |
| durationMillis | duration of the `VectorizedTweenSpec` animation. Defaults to `DefaultDurationMillis`. |
| delayMillis | the amount of time the animation should wait before it starts running, 0 by default. |
| easing | the easing curve used by the animation. `FastOutSlowInEasing` by default. |




