public interface ImageGetter
Modifier and Type | Method and Description |
---|---|
java.awt.Image |
createImage(int width,
int height)
Create a new image with the given dimensions
|
java.awt.Image |
getIm(java.lang.String fileName)
Get the file with the given filename from the filesystem.
|
boolean |
prepareImage(java.awt.Image i,
java.awt.image.ImageObserver io)
Tell an image to start loading
|
java.awt.Image getIm(java.lang.String fileName)
fileName
- the filenamejava.awt.Image createImage(int width, int height)
width
- the width of the new Imageheight
- the height of the new Imageboolean prepareImage(java.awt.Image i, java.awt.image.ImageObserver io)
i
- the Image itselfio
- an ImageObserver that watches