Interface

BoundsTransform

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
public fun interface BoundsTransform

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

Functions

createAnimationSpec

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

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