net.infonode.gui.colorprovider
public class ColorBlender extends AbstractColorProvider implements Serializable
Version: $Revision: 1.5 $
| Constructor Summary | |
|---|---|
| ColorBlender(ColorProvider color1, ColorProvider color2, float blendAmount)
Constructor.
| |
| Method Summary | |
|---|---|
| Color | getColor(Component component) |
| Color | getColor() |
Parameters: color1 provides the first color color2 provides the second color blendAmount the blend amount, range 0 - 1 where 0 means only the first color and 1 means only the second color