clip

fun clip(lowerBound: Double, upperBound: Double): AnimationController

Sets the bounds for the animation value. When clipping is enabled, the value will be constrained within the specified lower and upper bounds.

Return

The AnimationController instance with updated bounds.

Parameters

lowerBound

The lower bound for the animation value.

upperBound

The upper bound for the animation value.