pivot.wtk.effects.easing
Class Sine

java.lang.Object
  extended by pivot.wtk.effects.easing.Sine

public class Sine
extends java.lang.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
 

Constructor Detail

Sine

public Sine()
Method Detail

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)