proguard.gui.splash
Class LinearInt
java.lang.Object
proguard.gui.splash.LinearInt
- All Implemented Interfaces:
- proguard.gui.splash.VariableInt
- public class LinearInt
- extends Object
- implements proguard.gui.splash.VariableInt
This VariableColor varies linearly with respect to its Timing.
|
Constructor Summary |
LinearInt(int fromValue,
int toValue,
proguard.gui.splash.Timing timing)
Creates a new LinearInt. |
|
Method Summary |
int |
getInt(long time)
Returns the integer for the given time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearInt
public LinearInt(int fromValue,
int toValue,
proguard.gui.splash.Timing timing)
- Creates a new LinearInt.
- 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.
getInt
public int getInt(long time)
- Description copied from interface:
proguard.gui.splash.VariableInt
- Returns the integer for the given time.
- Specified by:
getInt in interface proguard.gui.splash.VariableInt