T
- the return type of this functionpublic interface AnimationFunction<T>
For each time in the function's valid time interval,
the #valueAt
method returns a value that can be used
to apply an animation effect in an Animation.
AnimationFunctions
,
AbstractAnimationFunction
Modifier and Type | Method and Description |
---|---|
long |
duration()
Returns the length of this function's valid time interval.
|
T |
valueAt(long time)
Returns the function value at a given time in the valid time interval.
|
long duration()
T valueAt(long time)
time
- the time used to determine the animation effectCopyright © 2018 JGoodies Software GmbH. All rights reserved.