de.erichseifert.gral.plots.colors
Class RainbowColors

java.lang.Object
  extended by de.erichseifert.gral.plots.colors.RainbowColors
All Implemented Interfaces:
ColorMapper

public class RainbowColors
extends Object
implements ColorMapper

Class that generates the colors of a rainbow.


Constructor Summary
RainbowColors()
          Creates a new RainbowColors object.
 
Method Summary
 Color get(double value)
          Returns the Color according to the specified value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RainbowColors

public RainbowColors()
Creates a new RainbowColors object.

Method Detail

get

public Color get(double value)
Description copied from interface: ColorMapper
Returns the Color according to the specified value.

Specified by:
get in interface ColorMapper
Parameters:
value - Value of color.
Returns:
Color.


Copyright © 2009-2010. All Rights Reserved.