Class Animation.Two

Enclosing class:
Animation

public static class Animation.Two extends Animation.Interped<Animation.Two>
Animates a pair of scalar values (usually a position).
  • Constructor Details

  • Method Details

    • from

      public Animation.Two from(float fromx, float fromy)
      Configures the starting values. Default: the values of the scalar at the time that the animation begins.
    • from

      public Animation.Two from(pythagoras.f.XY pos)
      Configures the starting values. Default: the values of the scalar at the time that the animation begins.
    • to

      public Animation.Two to(float tox, float toy)
      Configures the ending values. Default: (0, 0).
    • to

      public Animation.Two to(pythagoras.f.XY pos)
      Configures the ending values. Default: (0, 0).