PulpCore

pulpcore.animation
Class Easing

java.lang.Object
  extended by pulpcore.animation.Easing

public class Easing
extends Object

The Easing class provides functions to ease property animation in a non-linear way. Most apps will not need to create an instance of this class.


Field Summary
static Easing BACK_IN
           
static Easing BACK_IN_OUT
           
static Easing BACK_OUT
           
static Easing ELASTIC_IN
           
static Easing ELASTIC_IN_OUT
           
static Easing ELASTIC_OUT
           
static Easing NONE
           
static Easing REGULAR_IN
           
static Easing REGULAR_IN_OUT
           
static Easing REGULAR_OUT
           
static Easing STRONG_IN
           
static Easing STRONG_IN_OUT
           
static Easing STRONG_OUT
           
 
Constructor Summary
protected Easing()
           
  Easing(Easing easing, double strength)
           
 
Method Summary
protected  double ease(double t)
           
 int ease(int time, int duration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final Easing NONE

REGULAR_IN

public static final Easing REGULAR_IN

REGULAR_OUT

public static final Easing REGULAR_OUT

REGULAR_IN_OUT

public static final Easing REGULAR_IN_OUT

STRONG_IN

public static final Easing STRONG_IN

STRONG_OUT

public static final Easing STRONG_OUT

STRONG_IN_OUT

public static final Easing STRONG_IN_OUT

BACK_IN

public static final Easing BACK_IN

BACK_OUT

public static final Easing BACK_OUT

BACK_IN_OUT

public static final Easing BACK_IN_OUT

ELASTIC_IN

public static final Easing ELASTIC_IN

ELASTIC_OUT

public static final Easing ELASTIC_OUT

ELASTIC_IN_OUT

public static final Easing ELASTIC_IN_OUT
Constructor Detail

Easing

protected Easing()

Easing

public Easing(Easing easing,
              double strength)
Method Detail

ease

public final int ease(int time,
                      int duration)

ease

protected double ease(double t)

PulpCore

Copyright © 2007-2009 Interactive Pulp, LLC.