android.image
Class FromFile

java.lang.Object
  extended by android.image.Image
      extended by android.image.RasterImage
          extended by android.image.FromFile
Direct Known Subclasses:
FromResource, FromURL

public class FromFile
extends RasterImage

Represents an Image from a file. The given file name is used to load the image. Resolved path names are cached, so images are only loaded once.


Field Summary
 
Fields inherited from class android.image.Image
BLACK_OUTLINE, CLEAR, WHITE
 
Constructor Summary
FromFile(java.lang.String f)
          Create an Image from the given file name.
 
Method Summary
 
Methods inherited from class android.image.RasterImage
getCanvas, getPixel, getPixelAsString, height, paint, setPixel, setPixel, setPixel, setPixel, setPixel, width
 
Methods inherited from class android.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

FromFile

public FromFile(java.lang.String f)
Create an Image from the given file name.