|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.util.ColorScale.BlendScale
public static class ColorScale.BlendScale
A scale blending one color into another.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.strbio.util.ColorScale |
---|
ColorScale.BlackScale, ColorScale.BlendScale, ColorScale.BlueScale, ColorScale.GreenScale, ColorScale.RainbowScale, ColorScale.RainbowScale2, ColorScale.RedScale, ColorScale.WhiteScale |
Constructor Summary | |
---|---|
ColorScale.BlendScale(java.awt.Color lo,
java.awt.Color hi)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorScale.BlendScale(java.awt.Color lo, java.awt.Color hi)
Method Detail |
---|
public java.awt.Color colorOf(double x)
ColorScale
colorOf
in interface ColorScale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |