image
Class FromResource

java.lang.Object
  extended by image.Image
      extended by image.RasterImage
          extended by image.FromFile
              extended by image.FromResource

public class FromResource
extends FromFile

Represents an image from a JAR resource (an Image file within the currently executing JAR). In order to avoid package relative path problems, the absolute path of the image within the JAR should be used.


Constructor Summary
FromResource(java.lang.String f)
          Create an Image from the given file name within a JAR.
 
Method Summary
 
Methods inherited from class image.RasterImage
getGraphics, getPixel, getPixelAsString, height, paint, setPixel, setPixel, setPixel, setPixel, setPixel, setPixel, setPixel, width
 
Methods inherited from class image.Image
flipHorizontal, flipVertical, overlay, overlay, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, overlayxy, rasterize, rotate, rotate, toFile, toScene, toWhiteFile, toWhiteScene
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FromResource

public FromResource(java.lang.String f)
Create an Image from the given file name within a JAR.