|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColorScale
Color scales for use in graphical programs.
Version 1.0, 7/2/98 - original version.
Nested Class Summary | |
---|---|
static class |
ColorScale.BlackScale
A scale going from white to black. |
static class |
ColorScale.BlendScale
A scale blending one color into another. |
static class |
ColorScale.BlueScale
A scale going from black to blue. |
static class |
ColorScale.GreenScale
A scale going from black to green. |
static class |
ColorScale.RainbowScale
A ROYGBIV scale going from R(low) to V(high) |
static class |
ColorScale.RainbowScale2
A ROYGBIV scale going from V(low) to R(high) |
static class |
ColorScale.RedScale
A scale going from black to red. |
static class |
ColorScale.WhiteScale
A scale going from black to white. |
Method Summary | |
---|---|
java.awt.Color |
colorOf(double x)
All color scales return a color corresponding to a double between 0.0 and 1.0; if the double is out of bounds, the color corresponding to the nearest endpoint of the scale should be returned. |
Method Detail |
---|
java.awt.Color colorOf(double x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |