com.sun.jimi.core.raster.stamped
Class StampedBitRasterImage

java.lang.Object
  |
  +--com.sun.jimi.core.raster.stamped.StampedRasterImageSupport
        |
        +--com.sun.jimi.core.raster.stamped.StampedByteRasterImage
              |
              +--com.sun.jimi.core.raster.stamped.StampedBitRasterImage

public class StampedBitRasterImage
extends StampedByteRasterImage
implements BitRasterImage

Stamped wrapper for ByteRasterImages


Field Summary
protected  BitRasterImage image
           
 
Fields inherited from class com.sun.jimi.core.raster.stamped.StampedByteRasterImage
background, image, mapping, stampImage
 
Fields inherited from class com.sun.jimi.core.raster.stamped.StampedRasterImageSupport
error, ERROR_SET, horizStamps, imageIndex, nextError, random, stampAreaHeight, stampAreaWidth, stampheight, stampwidth, stampx, stampy, vertStamps, wrappedImage
 
Constructor Summary
StampedBitRasterImage(BitRasterImage image)
           
 
Method Summary
 byte getPixel(int x, int y)
           
 void getRectangle(int x, int y, int width, int height, byte[] buffer, int offset, int scansize)
           
 void getRectanglePacked(int x, int y, int width, int height, byte[] buffer, int offset, int scansize)
           
 void getRow(int y, byte[] buffer, int offset)
           
 void getRowPacked(int y, byte[] buffer, int offset)
           
 void setPixel(int x, int y, byte value)
           
 void setRectangle(int x, int y, int width, int height, byte[] pixels, int offset, int scansize)
           
 void setRectanglePacked(int x, int y, int width, int height, byte[] pixels, int offset, int scansize)
           
 void setRow(int y, byte[] pixels, int offset)
           
 void setRowPacked(int y, byte[] pixels, int offset)
           
 
Methods inherited from class com.sun.jimi.core.raster.stamped.StampedRasterImageSupport
asByteArray, asIntArray, decideError, getChannelRectangle, getColorModel, getCroppedImageProducer, getFactory, getHeight, getImageProducer, getOptions, getPixelRGB, getProperties, getRectangleARGBChannels, getRectangleRGB, getRectangleRGBAChannels, getRectangleRGBChannels, getRowRGB, getWidth, isError, mustWaitForOptions, setDecodingController, setError, setFinished, setImageConsumerHints, setOptions, setWaitForOptions, waitFinished, waitInfoAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

protected BitRasterImage image
Constructor Detail

StampedBitRasterImage

public StampedBitRasterImage(BitRasterImage image)
Method Detail

setRectangle

public void setRectangle(int x,
                         int y,
                         int width,
                         int height,
                         byte[] pixels,
                         int offset,
                         int scansize)
                  throws ImageAccessException
Overrides:
setRectangle in class StampedByteRasterImage

setRectanglePacked

public void setRectanglePacked(int x,
                               int y,
                               int width,
                               int height,
                               byte[] pixels,
                               int offset,
                               int scansize)
                        throws ImageAccessException
Specified by:
setRectanglePacked in interface BitRasterImage

setRow

public void setRow(int y,
                   byte[] pixels,
                   int offset)
            throws ImageAccessException
Overrides:
setRow in class StampedByteRasterImage

setPixel

public void setPixel(int x,
                     int y,
                     byte value)
              throws ImageAccessException
Overrides:
setPixel in class StampedByteRasterImage

getRectangle

public void getRectangle(int x,
                         int y,
                         int width,
                         int height,
                         byte[] buffer,
                         int offset,
                         int scansize)
                  throws ImageAccessException
Overrides:
getRectangle in class StampedByteRasterImage

getRow

public void getRow(int y,
                   byte[] buffer,
                   int offset)
            throws ImageAccessException
Overrides:
getRow in class StampedByteRasterImage

getPixel

public byte getPixel(int x,
                     int y)
              throws ImageAccessException
Overrides:
getPixel in class StampedByteRasterImage

setRowPacked

public void setRowPacked(int y,
                         byte[] pixels,
                         int offset)
                  throws ImageAccessException
Specified by:
setRowPacked in interface BitRasterImage

getRectanglePacked

public void getRectanglePacked(int x,
                               int y,
                               int width,
                               int height,
                               byte[] buffer,
                               int offset,
                               int scansize)
                        throws ImageAccessException
Specified by:
getRectanglePacked in interface BitRasterImage

getRowPacked

public void getRowPacked(int y,
                         byte[] buffer,
                         int offset)
                  throws ImageAccessException
Specified by:
getRowPacked in interface BitRasterImage