|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the return type of this functionpublic interface AnimationFunction<T>
This interface describes time-based animation functions by their duration and a mapping from time to arbitrary values. These values are typically attribute values of an animation target, for example the width of a rectangle, the x position of a point, the color of a line, the alpha value of a panel.
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
Method Summary | |
---|---|
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. |
Method Detail |
---|
long duration()
T valueAt(long time)
time
- the time used to determine the animation effect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |