org.apache.pivot.wtk.effects.easing
Class Sine

java.lang.Object
  extended by org.apache.pivot.wtk.effects.easing.Sine
All Implemented Interfaces:
Easing

public class Sine
extends Object
implements Easing

Easing operation based on a sine curve.


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
 

Constructor Detail

Sine

public Sine()
Method Detail

easeIn

public float easeIn(float time,
                    float begin,
                    float change,
                    float duration)
Specified by:
easeIn in interface Easing

easeOut

public float easeOut(float time,
                     float begin,
                     float change,
                     float duration)
Specified by:
easeOut in interface Easing

easeInOut

public float easeInOut(float time,
                       float begin,
                       float change,
                       float duration)
Specified by:
easeInOut in interface Easing