|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfpp.fractal.YellowBlueColorizer
public final class YellowBlueColorizer
The YellowBlueColorizer class provides a Colorizer that generates colors from yellow to blue.
Constructor Summary | |
---|---|
YellowBlueColorizer(int maxIterations)
Constructs a new YellowBlueColorizer. |
Method Summary | |
---|---|
java.awt.Color |
calculateColor(int numberOfIterations)
Calculates a Color given the number of required iterations at a point in a fractal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YellowBlueColorizer(int maxIterations)
maxIterations
- the maximum number of iterations of the associated
fractal generatorMethod Detail |
---|
public java.awt.Color calculateColor(int numberOfIterations)
Colorizer
calculateColor
in interface Colorizer
numberOfIterations
- the given number of required iterations
Colorizer.calculateColor(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |