java.lang.ObjectFiveColorScale
public class FiveColorScale
Represents a five-color scale as a smooth transition between the two terminal colors in the scale.
| Constructor Summary | |
|---|---|
FiveColorScale()
Constructs a default (gray) scale from white to black. |
|
FiveColorScale(Color first,
Color last)
Constructs a scale from first to last values specified. |
|
| Method Summary | |
|---|---|
Color |
get1()
Returns a reference to color level 1. |
Color |
get2()
Returns a reference to color level 2. |
Color |
get3()
Returns a reference to color level 3. |
Color |
get4()
Returns a reference to color level 4. |
Color |
get5()
Returns a reference to color level 5. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FiveColorScale()
public FiveColorScale(Color first,
Color last)
first - the first color value.last - the last color value.| Method Detail |
|---|
public Color get1()
public Color get2()
public Color get3()
public Color get4()
public Color get5()