All Packages Class Hierarchy This Package Previous Next Index
Class benno.asg.colourschemes.RandCol
java.lang.Object
|
+----benno.asg.colourschemes.RandCol
- public class RandCol
- extends Object
- implements ColourScheme
Implements the traditional random colour colourscheme to produce
random dot stereograms.
- Version:
- $Revision: 1.3 $
-
RandCol()
- Constructs a new object: it initialises Random r and Color[] colarry.
-
next()
- Implements ColourScheme.
-
nextLine()
- Implements ColourScheme.
RandCol
public RandCol()
- Constructs a new object: it initialises Random r and Color[] colarry.
next
public Color next()
- Implements ColourScheme. Returns a random dot.
- Returns:
- a Color object chosen randomly from colarray[]
nextLine
public void nextLine()
- Implements ColourScheme. Does nothing (deliberately).
All Packages Class Hierarchy This Package Previous Next Index