SpringAnimation.calculateVelocity

Calculates the velocity self will have at time.

The time starts at 0 and ends at propertySpringAnimation:estimated_duration.

See also adw.spring_animation.SpringAnimation.calculateValue.

class SpringAnimation
double
calculateVelocity
(
uint time
)

Parameters

time uint

elapsed time, in milliseconds

Return Value

Type: double

the velocity at time