public class RainbowColorGenerator extends java.lang.Object implements ColorGenerator
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor(double value)
Implementation of the ColorGenerator interface.
|
java.awt.Color |
getColor(float value)
Implementation of the ColorGenerator interface.
|
static RainbowColorGenerator |
getColorGenerator() |
public static RainbowColorGenerator getColorGenerator()
public java.awt.Color getColor(float value)
getColor
in interface ColorGenerator
public java.awt.Color getColor(double value)
getColor
in interface ColorGenerator