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

Constructor Index

 o ImageURL(String)
A constructor that loads the image and converts it into an array of pixels stored in int[] pixels, before returning.

Method Index

 o next()
Implements ColourScheme.
 o nextLine()
Implements ColourScheme.

Constructors

 o 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.

Methods

 o 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.

 o nextLine
 public void nextLine()
Implements ColourScheme. Moves to the start of the next line.


All Packages  Class Hierarchy  This Package  Previous  Next  Index