| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj2d.color.Wavelength
public class Wavelength
| Constructor Summary | |
|---|---|
| Wavelength() | |
| Method Summary | |
|---|---|
| static void | main(java.lang.String[] args) | 
| static java.awt.Color | wvColor(float wl,
        float gamma)Creates a Color object given the wavelength instead of the usual RGB or HSB values. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Wavelength()
| Method Detail | 
|---|
public static java.awt.Color wvColor(float wl,
                                     float gamma)
wl - wavelength of the light in nanometers.
 Will show up black outside the range 380..780.gamma - 0.0 .. 1.0 intensity.public static void main(java.lang.String[] args)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||