Class ImageIoImage
- java.lang.Object
-
- com.webcodepro.applecommander.storage.filters.imagehandlers.AppleImage
-
- com.webcodepro.applecommander.storage.filters.imagehandlers.ImageIoImage
-
public class ImageIoImage extends AppleImage
ImageIoImage is a specific implementation of AppleImage that handles all ImageIO related coding surrounding image manipulation. This is available in JDK 1.4 as well as an extra library for JDK 1.3.Date Created: Mar 25, 2003
-
-
Constructor Summary
Constructors Constructor Description ImageIoImage(int width, int height)Create ImageIoImage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()Return the height of the image.intgetPoint(int x, int y)Get a color point.intgetWidth()Return the width of the image.voidsave(java.io.OutputStream outputStream)Save the image.voidsetPoint(int x, int y, int color)Set a color point.-
Methods inherited from class com.webcodepro.applecommander.storage.filters.imagehandlers.AppleImage
create, getAvailableExtensions, getDefaultExtension, getFileExtension, setAvailableExtensions, setFileExtension
-
-
-
-
Method Detail
-
setPoint
public void setPoint(int x, int y, int color)Set a color point.- Specified by:
setPointin classAppleImage
-
getPoint
public int getPoint(int x, int y)Get a color point.- Specified by:
getPointin classAppleImage
-
save
public void save(java.io.OutputStream outputStream) throws java.io.IOExceptionSave the image.- Specified by:
savein classAppleImage- Throws:
java.io.IOException
-
getWidth
public int getWidth()
Return the width of the image.- Specified by:
getWidthin classAppleImage
-
getHeight
public int getHeight()
Return the height of the image.- Specified by:
getHeightin classAppleImage
-
-