|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfpp.fractal.SabrinasColorizer
public final class SabrinasColorizer
This colorizer was adapted from a program by Ms. Reif.
Constructor Summary | |
---|---|
SabrinasColorizer(int maxIterations)
Constructs a new SabrinasColorizer. |
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 SabrinasColorizer(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 |