Class ColorBlender

java.lang.Object
net.infonode.gui.colorprovider.AbstractColorProvider
net.infonode.gui.colorprovider.ColorBlender
All Implemented Interfaces:
Serializable, ColorProvider

public class ColorBlender extends AbstractColorProvider
Blends two colors according to the given blend amount.
See Also:
  • Constructor Details

    • ColorBlender

      public ColorBlender(ColorProvider color1, ColorProvider color2, float blendAmount)
      Constructor.
      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
  • Method Details