SpringAnimation.setClamp

Sets whether self should be clamped.

If set to TRUE, the animation will abruptly end as soon as it reaches the final value, preventing overshooting.

It won't prevent overshooting propertySpringAnimation:value-from if a relative negative propertySpringAnimation:initial-velocity is set.

class SpringAnimation
void
setClamp
(
bool clamp
)

Parameters

clamp bool

the new value