Changed Methods |
Raster createChild(int, int, int, int, int, int, int[])
|
Documentation changed from old to new. |
Returns a new Raster which shares all or part of this Raster's DataBuffer. |
Raster createRaster(SampleModel, DataBuffer, Point)
|
Documentation changed from old to new. |
Creates a Raster with the specified SampleModel and DataBuffer. |
Raster createTranslatedChild(int, int)
|
Documentation changed from old to new. |
Create a Raster with the same size SampleModel and DataBuffer as this one but with a different location. |
Rectangle getBounds()
|
Documentation changed from old to new. |
Returns the bounding Rectangle of this Raster. |
DataBuffer getDataBuffer()
|
Documentation changed from old to new. |
Returns the DataBuffer associated with this Raster. |
int getHeight()
|
Documentation changed from old to new. |
Returns the height in pixels of the Raster. |
int getMinX()
|
Documentation changed from old to new. |
Returns the minimum valid X coordinate of the Raster. |
int getMinY()
|
Documentation changed from old to new. |
Returns the minimum valid Y coordinate of the Raster. |
int getNumBands()
|
Documentation changed from old to new. |
Returns the number of bands (samples per pixel) in this Raster. |
int getNumDataElements()
|
Documentation changed from old to new. |
Returns the number of data elements needed to transfer one pixel via the getDataElements and setDataElements methods. |
Raster getParent()
|
Documentation changed from old to new. |
Returns the parent Raster (if any) of this Raster or null. |
int getSample(int, int, int)
|
Documentation changed from old to new. |
Returns the sample in a specified band for the pixel located at (x y) as an int. |
double getSampleDouble(int, int, int)
|
Documentation changed from old to new. |
Returns the sample in a specified band for a pixel located at (x y) as a double. |
float getSampleFloat(int, int, int)
|
Documentation changed from old to new. |
Returns the sample in a specified band for the pixel located at (x y) as a float. |
SampleModel getSampleModel()
|
Documentation changed from old to new. |
Returns the SampleModel that describes the layout of the image data. |
int getSampleModelTranslateX()
|
Documentation changed from old to new. |
Returns the X translation from the coordinate system of the SampleModel to that of the Raster. |
int getSampleModelTranslateY()
|
Documentation changed from old to new. |
Returns the Y translation from the coordinate system of the SampleModel to that of the Raster. |
int getTransferType()
|
Documentation changed from old to new. |
Returns the TransferType used to transfer pixels via the getDataElements and setDataElements methods. |
int getWidth()
|
Documentation changed from old to new. |
Returns the width in pixels of the Raster. |
WritableRaster createBandedRaster(int, int, int, int, int[], int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a BandedSampleModel with the specified data type width height scanline stride bank indices and band offsets. |
WritableRaster createBandedRaster(int, int, int, int, Point)
|
Documentation changed from old to new. |
Creates a Raster based on a BandedSampleModel with the specified data type width height and number of bands. |
WritableRaster createBandedRaster(DataBuffer, int, int, int, int[], int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a BandedSampleModel with the specified DataBuffer width height scanline stride bank indices and band offsets. |
WritableRaster createCompatibleWritableRaster()
|
Documentation changed from old to new. |
Create a compatible WritableRaster the same size as this Raster with the same SampleModel and a new initialized DataBuffer. |
WritableRaster createCompatibleWritableRaster(int, int)
|
Documentation changed from old to new. |
Create a compatible WritableRaster with the specified size a new SampleModel and a new initialized DataBuffer. |
WritableRaster createCompatibleWritableRaster(int, int, int, int)
|
Documentation changed from old to new. |
Create a compatible WritableRaster with the specified location (minX minY) and size (width height) a new SampleModel and a new initialized DataBuffer. |
WritableRaster createCompatibleWritableRaster(Rectangle )
|
Documentation changed from old to new. |
Create a compatible WritableRaster with location (minX minY) and size (width height) specified by rect a new SampleModel and a new initialized DataBuffer. |
WritableRaster createInterleavedRaster(int, int, int, int, int, int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a PixelInterleavedSampleModel with the specified data type width height scanline stride pixel stride and band offsets. |
WritableRaster createInterleavedRaster(int, int, int, int, Point)
|
Documentation changed from old to new. |
Creates a Raster based on a PixelInterleavedSampleModel with the specified data type width height and number of bands. |
WritableRaster createInterleavedRaster(DataBuffer, int, int, int, int, int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a PixelInterleavedSampleModel with the specified DataBuffer width height scanline stride pixel stride and band offsets. |
WritableRaster createPackedRaster(int, int, int, int, int, Point)
|
Documentation changed from old to new. |
Creates a Raster based on a packed SampleModel with the specified data type width height number of bands and bits per band. |
WritableRaster createPackedRaster(int, int, int, int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a SinglePixelPackedSampleModel with the specified data type width height and band masks. |
WritableRaster createPackedRaster(DataBuffer, int, int, int, int[], Point)
|
Documentation changed from old to new. |
Creates a Raster based on a SinglePixelPackedSampleModel with the specified DataBuffer width height scanline stride and band masks. |
WritableRaster createPackedRaster(DataBuffer, int, int, int, Point)
|
Documentation changed from old to new. |
Creates a Raster based on a MultiPixelPackedSampleModel with the specified DataBuffer width height and bits per pixel. |
WritableRaster createWritableRaster(SampleModel, Point)
|
Documentation changed from old to new. |
Creates a WritableRaster with the specified SampleModel. |
WritableRaster createWritableRaster(SampleModel, DataBuffer, Point)
|
Documentation changed from old to new. |
Creates a WritableRaster with the specified SampleModel and DataBuffer. |
Object getDataElements(int, int, int, int, Object)
|
Documentation changed from old to new. |
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType. |
Object getDataElements(int, int, Object)
|
Documentation changed from old to new. |
Returns data for a single pixel in a primitive array of type TransferType. |
double[] getPixel(int, int, double[])
|
Documentation changed from old to new. |
Returns the samples in an array of double for the specified pixel. |
float[] getPixel(int, int, float[])
|
Documentation changed from old to new. |
Returns the samples in an array of float for the specified pixel. |
int[] getPixel(int, int, int[])
|
Documentation changed from old to new. |
Returns the samples in an array of int for the specified pixel. |
double[] getPixels(int, int, int, int, double[])
|
Documentation changed from old to new. |
Returns a double array containing all samples for a rectangle of pixels one sample per array element. |
float[] getPixels(int, int, int, int, float[])
|
Documentation changed from old to new. |
Returns a float array containing all samples for a rectangle of pixels one sample per array element. |
int[] getPixels(int, int, int, int, int[])
|
Documentation changed from old to new. |
Returns an int array containing all samples for a rectangle of pixels one sample per array element. |
double[] getSamples(int, int, int, int, int, double[])
|
Documentation changed from old to new. |
Returns the samples for a specified band for a specified rectangle of pixels in a double array one sample per array element. |
float[] getSamples(int, int, int, int, int, float[])
|
Documentation changed from old to new. |
Returns the samples for a specified band for the specified rectangle of pixels in a float array one sample per array element. |
int[] getSamples(int, int, int, int, int, int[])
|
Documentation changed from old to new. |
Returns the samples for a specified band for the specified rectangle of pixels in an int array one sample per array element. |