SpringAnimation.clamp

bool clamp() @property

Get clamp property.

Returns

Whether the animation 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 property@SpringAnimation:value-from if a relative negative property@SpringAnimation:initial-velocity is set.

void clamp(bool propval) @property

Set clamp property.

Parameters

propvalWhether the animation 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 property@SpringAnimation:value-from if a relative negative property@SpringAnimation:initial-velocity is set.