|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.SpectrumColormap
public class SpectrumColormap
A colormap with the colors of the spectrum.
Constructor Summary | |
---|---|
SpectrumColormap()
Construct a spcetrum color map |
Method Summary | |
---|---|
int |
getColor(float v)
Convert a value in the range 0..1 to an RGB color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpectrumColormap()
Method Detail |
---|
public int getColor(float v)
getColor
in interface Colormap
v
- a value in the range 0..1
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |