de.erichseifert.gral.plots.colors
Class RainbowColors
java.lang.Object
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. |
RainbowColors
public RainbowColors()
- Creates a new RainbowColors object.
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.