calculate_velocity


Description:

[ Version ( since = "1.3" ) ]
public double calculate_velocity (uint time)

Calculates the velocity this will have at time.

The time starts at 0 and ends at [property@SpringAnimation:estimated_duration].

See also [method@SpringAnimation.calculate_value].

Parameters:

this

a spring animation

time

elapsed time, in milliseconds

Returns:

the velocity at time