proguard.gui.splash
Class LinearDouble
java.lang.Object
proguard.gui.splash.LinearDouble
- All Implemented Interfaces:
- proguard.gui.splash.VariableDouble
- public class LinearDouble
- extends Object
- implements proguard.gui.splash.VariableDouble
This VariableDouble varies linearly with respect to its Timing.
|
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 |
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.
getDouble
public double getDouble(long time)
- Description copied from interface:
proguard.gui.splash.VariableDouble
- Returns the double for the given time.
- Specified by:
getDouble in interface proguard.gui.splash.VariableDouble