SpringAnimation.epsilon

Get epsilon property.

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

Return Value

Type: 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.