SpringAnimation.setClamp

void setClamp(bool clamp) nothrow

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 adw.spring_animation.SpringAnimation.valueFrom if a relative negative adw.spring_animation.SpringAnimation.initialVelocity is set.

Parameters

clampthe new value