ProGuard

proguard.gui.splash
Class LinearColor

java.lang.Object
  extended byproguard.gui.splash.LinearColor
All Implemented Interfaces:
proguard.gui.splash.VariableColor

public class LinearColor
extends Object
implements proguard.gui.splash.VariableColor

This VariableColor varies linearly with respect to its Timing.


Constructor Summary
LinearColor(Color fromValue, Color toValue, proguard.gui.splash.Timing timing)
          Creates a new LinearColor.
 
Method Summary
 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(Color fromValue,
                   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 Color getColor(long time)
Description copied from interface: proguard.gui.splash.VariableColor
Returns the Color for the given time.

Specified by:
getColor in interface proguard.gui.splash.VariableColor

ProGuard