public abstract class

AnimationCurve

extends Object
java.lang.Object
   ↳ com.shinobicontrols.charts.AnimationCurve
Known Direct Subclasses

Class Overview

An animation curve defines how a value controlled by an animation varies with time. Given a time point between the start and end of an animation, an animation curve returns a value which represents the progress of the series between its beginning and end positions. For more information on curve evaluation, see the valueAtTime method.

Summary

Protected Constructors
AnimationCurve()
Public Methods
abstract float valueAtTime(float time)
Returns the (normalized) value for the animation curve at the given (normalized) time.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected AnimationCurve ()

Public Methods

public abstract float valueAtTime (float time)

Returns the (normalized) value for the animation curve at the given (normalized) time.

Parameters
time Time is provided as a float between 0.0 and 1.0, where 0.0 is the beginning of the animation and 1.0 is the end of the animation. (time = elapsed time / duration)
Returns
  • The progress of the animated quantity between its beginning and end positions, where 0.0 is the start state and 1.0 is, nominally, the end state. It is valid to return a value v where either v < 0.0 or v > 1.0 and it not necessary to return 1.0 at time 1.0.