pivot.wtk.effects.easing
Class Sine
java.lang.Object
pivot.wtk.effects.easing.Sine
public class Sine
- extends Object
Easing operation based on a sine curve.
- Author:
- Robert Penner, gbrown
Constructor Summary |
Sine()
|
Method Summary |
float |
easeIn(float time,
float begin,
float change,
float duration)
|
float |
easeInOut(float time,
float begin,
float change,
float duration)
|
float |
easeOut(float time,
float begin,
float change,
float duration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sine
public Sine()
easeIn
public float easeIn(float time,
float begin,
float change,
float duration)
easeOut
public float easeOut(float time,
float begin,
float change,
float duration)
easeInOut
public float easeInOut(float time,
float begin,
float change,
float duration)