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


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



<h2 id="overload-1">Overload 1</h2>

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



```kotlin
public fun interface BoundsTransform
```


`BoundsTransform` defines the animation spec used to animate from initial bounds to the target
bounds.


## Functions



<hr class="docs-overload-divider">


<h2 id="createanimationspec-initialbounds-targetbounds">createAnimationSpec</h2>

```kotlin
public fun createAnimationSpec(
        initialBounds: Rect,
        targetBounds: Rect,
    ): FiniteAnimationSpec<Rect>
```


Returns a `FiniteAnimationSpec` for animating the bounds from `initialBounds` to
`targetBounds`.