Implement getImage method to get to the java.awt.Image as suggested by Jürg Lehni.

This commit is contained in:
hns 2003-08-07 12:17:55 +00:00
parent 55b48fd484
commit 17427e1e16

View file

@ -71,6 +71,15 @@ public abstract class ImageWrapper {
return g;
}
/**
* Returns the Image object represented by this ImageWrapper.
*
* @return the image object
*/
public Image getImage() {
return img;
}
/**
* Set the font used to write on this image.