proguard.gui.splash
Class LinearColor

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

public class LinearColor
extends java.lang.Object

This VariableColor varies linearly with respect to its Timing.


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

Constructor Detail

LinearColor

public LinearColor(java.awt.Color fromValue,
                   java.awt.Color toValue,
                   proguard.gui.splash.Timing timing)
Creates a new LinearColor.

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

getColor

public java.awt.Color getColor(long time)
Returns the Color for the given time.