SpringAnimation.epsilon

Set epsilon property.

  1. double epsilon [@property getter]
  2. double epsilon [@property setter]
    class SpringAnimation
    @property
    void
    epsilon
    (
    double propval
    )

Parameters

propval double

Precision of the spring.

The level of precision used to determine when the animation has come to a rest, that is, when the amplitude of the oscillations becomes smaller than this value.

If the epsilon value is too small, the animation will take a long time to stop after the animated value has stopped visibly changing.

If the epsilon value is too large, the animation will end prematurely.

The default value is 0.001.