com.sun.jimi.core.raster
Class JimiRasterImageHandle
java.lang.Object
|
+--com.sun.jimi.core.JimiImageHandle
|
+--com.sun.jimi.core.raster.JimiRasterImageHandle
- public class JimiRasterImageHandle
- extends JimiImageHandle
- implements JimiRasterImage
Handle to act as a non-blocking "Future" for raster images
Methods inherited from class com.sun.jimi.core.JimiImageHandle |
getFactory,
getImageProducer,
getOptions,
getWrappedJimiImage,
isError,
isImageSet,
setJimiImage,
setOptions,
waitFinished,
waitImageSet,
waitInfoAvailable |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
rasterImage
public JimiRasterImage rasterImage
JimiRasterImageHandle
public JimiRasterImageHandle()
getWidth
public int getWidth()
- Specified by:
- getWidth in interface JimiRasterImage
getHeight
public int getHeight()
- Specified by:
- getHeight in interface JimiRasterImage
getRectangleRGB
public void getRectangleRGB(int x,
int y,
int width,
int height,
int[] buffer,
int offset,
int scansize)
throws ImageAccessException
- Specified by:
- getRectangleRGB in interface JimiRasterImage
getRowRGB
public void getRowRGB(int y,
int[] buffer,
int offset)
throws ImageAccessException
- Specified by:
- getRowRGB in interface JimiRasterImage
ensureRasterImageSet
protected void ensureRasterImageSet()
throws ImageAccessException
setRasterImage
public void setRasterImage(JimiRasterImage rasterImage)