Last Updated: 3/4/97
Class NFImage

Class NFImage

public class NFImage extends Canvas implements ImageObserver

A general purpose tool for different kinds of image manipulation.

Instance Variables

Type Name Description Default
boolean ready Used to check if the image is ready for drawing false

Methods


synchronized boolean imageUpdate(Image img,
                                 int infoflags,
                                 int x,
                                 int y,
                                 int w,
                                 int h) 
Called by image producer to keep this object abreast of the image construction. Should not be called by other objects.

synchronized void tileImage(Graphics g,
                            Image im,
                            int x,
                            int y,
                            int w,
                            int h)
Tile the given image in the given rectangle.