proguard.gui.splash
Class LinearDouble

java.lang.Object
  extended by proguard.gui.splash.LinearDouble

public class LinearDouble
extends Object

This VariableDouble varies linearly with respect to its Timing.

Author:
Eric Lafortune

Constructor Summary
LinearDouble(double fromValue, double toValue, proguard.gui.splash.Timing timing)
          Creates a new LinearDouble.
 
Method Summary
 double getDouble(long time)
          Returns the double for the given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearDouble

public LinearDouble(double fromValue,
                    double toValue,
                    proguard.gui.splash.Timing timing)
Creates a new LinearDouble.

Parameters:
fromValue - the value that corresponds to a timing of 0.
toValue - the value that corresponds to a timing of 1.
timing - the applied timing.
Method Detail

getDouble

public double getDouble(long time)
Returns the double for the given time.



Copyright © 2012. All Rights Reserved.