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

```kotlin
public val Float.Companion.VectorConverter: TwoWayConverter<Float, AnimationVector1D>
```

A [TwoWayConverter](/jetpack-compose/androidx.compose.animation/animation-core/interfaces/TwoWayConverter) that converts [Float] from and to [AnimationVector1D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector1D)

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

```kotlin
public val Int.Companion.VectorConverter: TwoWayConverter<Int, AnimationVector1D>
```

A [TwoWayConverter](/jetpack-compose/androidx.compose.animation/animation-core/interfaces/TwoWayConverter) that converts [Int] from and to [AnimationVector1D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector1D)

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

```kotlin
public val Rect.Companion.VectorConverter: TwoWayConverter<Rect, AnimationVector4D>
```

A type converter that converts a [Rect](/jetpack-compose/androidx.compose.ui/ui-geometry/classes/Rect) to a [AnimationVector4D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector4D), and vice versa.

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

```kotlin
public val Dp.Companion.VectorConverter: TwoWayConverter<Dp, AnimationVector1D>
```

A type converter that converts a [Dp](/jetpack-compose/androidx.compose.ui/ui-unit/properties/dp) to a [AnimationVector1D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector1D), and vice versa.

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

```kotlin
public val DpOffset.Companion.VectorConverter: TwoWayConverter<DpOffset, AnimationVector2D>
```

A type converter that converts a [DpOffset](/jetpack-compose/androidx.compose.ui/ui-unit/classes/DpOffset) to a [AnimationVector2D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector2D), and vice versa.

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

```kotlin
public val Size.Companion.VectorConverter: TwoWayConverter<Size, AnimationVector2D>
```

A type converter that converts a [Size](/jetpack-compose/androidx.compose.ui/ui-unit/properties/size) to a [AnimationVector2D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector2D), and vice versa.

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

```kotlin
public val Offset.Companion.VectorConverter: TwoWayConverter<Offset, AnimationVector2D>
```

A type converter that converts a [Offset](/jetpack-compose/androidx.compose.ui/ui-geometry/classes/Offset) to a [AnimationVector2D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector2D), and vice versa.

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

```kotlin
public val IntOffset.Companion.VectorConverter: TwoWayConverter<IntOffset, AnimationVector2D>
```

A type converter that converts a [IntOffset](/jetpack-compose/androidx.compose.ui/ui-unit/classes/IntOffset) to a [AnimationVector2D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector2D), and vice versa.

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

```kotlin
public val IntSize.Companion.VectorConverter: TwoWayConverter<IntSize, AnimationVector2D>
```

A type converter that converts a [IntSize](/jetpack-compose/androidx.compose.ui/ui-unit/classes/IntSize) to a [AnimationVector2D](/jetpack-compose/androidx.compose.animation/animation-core/classes/AnimationVector2D), and vice versa.

Clamps negative values to zero when converting back to [IntSize](/jetpack-compose/androidx.compose.ui/ui-unit/classes/IntSize).