All Packages Class Hierarchy This Package Previous Next Index
Class benno.asg.colourschemes.ImageURL
java.lang.Object
|
+----benno.asg.colourschemes.ImageURL
- public class ImageURL
- extends Object
- implements ColourScheme
This class implements a ColourScheme consisting of a tiled image.
- Version:
- $Revision: 1.5 $
- Author:
- Ben Clifford
-
ImageURL(String)
- A constructor that loads the image and converts it into an
array of pixels stored in int[] pixels, before returning.
-
next()
- Implements ColourScheme.
-
nextLine()
- Implements ColourScheme.
ImageURL
public ImageURL(String url)
- A constructor that loads the image and converts it into an
array of pixels stored in int[] pixels, before returning.
next
public Color next()
- Implements ColourScheme. Returns the next pixel on this line - if we
have passed off the end of the line, we return to the start.
nextLine
public void nextLine()
- Implements ColourScheme. Moves to the start of the next line.
All Packages Class Hierarchy This Package Previous Next Index