Generated by
JDiff

Class java.awt.image.SampleModel

Documentation changed from old to new.

Changed Methods
SampleModel createCompatibleSampleModel(int, int) Documentation changed from old to new.
Creates a SampleModel which describes data in this SampleModel's format but with a different width and height.
DataBuffer createDataBuffer() Documentation changed from old to new.
Creates a DataBuffer that corresponds to this SampleModel.
SampleModel createSubsetSampleModel(int[]) Documentation changed from old to new.
Creates a new SampleModel with a subset of the bands of this SampleModel.
int getDataType() Documentation changed from old to new.
Returns the data type of the DataBuffer storing the pixel data.
int getHeight() Documentation changed from old to new.
Returns the height in pixels.
int getNumBands() Documentation changed from old to new.
Returns the total number of bands of image data.
int getNumDataElements() Documentation changed from old to new.
Returns the number of data elements needed to transfer a pixel via the getDataElements and setDataElements methods.
int getSample(int, int, int, DataBuffer) 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, DataBuffer) 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, DataBuffer) Documentation changed from old to new.
Returns the sample in a specified band for the pixel located at (x y) as a float.
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.
Object getDataElements(int, int, Object, DataBuffer) Documentation changed from old to new.
Returns data for a single pixel in a primitive array of type TransferType.
Object getDataElements(int, int, int, int, Object, DataBuffer) Documentation changed from old to new.
Returns the pixel data for the specified rectangle of pixels in a primitive array of type TransferType.
double[] getPixel(int, int, double[], DataBuffer) Documentation changed from old to new.
Returns the samples for the specified pixel in an array of double.
float[] getPixel(int, int, float[], DataBuffer) Documentation changed from old to new.
Returns the samples for the specified pixel in an array of float.
int[] getPixel(int, int, int[], DataBuffer) Documentation changed from old to new.
Returns the samples for a specified pixel in an int array one sample per array element.
double[] getPixels(int, int, int, int, double[], DataBuffer) Documentation changed from old to new.
Returns all samples for a rectangle of pixels in a double array one sample per array element.
float[] getPixels(int, int, int, int, float[], DataBuffer) Documentation changed from old to new.
Returns all samples for a rectangle of pixels in a float array one sample per array element.
int[] getPixels(int, int, int, int, int[], DataBuffer) Documentation changed from old to new.
Returns all samples for a rectangle of pixels in an int array one sample per array element.
int getSampleSize(int) Documentation changed from old to new.
Returns the size in bits of samples for the specified band.
int[] getSampleSize() Documentation changed from old to new.
Returns the size in bits of samples for all bands.
double[] getSamples(int, int, int, int, int, double[], DataBuffer) 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[], DataBuffer) 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[], DataBuffer) 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.
void setDataElements(int, int, Object, DataBuffer) Documentation changed from old to new.
Sets the data for a single pixel in the specified DataBuffer from a primitive array of type TransferType.
void setDataElements(int, int, int, int, Object, DataBuffer) Documentation changed from old to new.
Sets the data for a rectangle of pixels in the specified DataBuffer from a primitive array of type TransferType.
void setPixel(int, int, double[], DataBuffer) Documentation changed from old to new.
Sets a pixel in the DataBuffer using a double array of samples for input.
void setPixel(int, int, float[], DataBuffer) Documentation changed from old to new.
Sets a pixel in the DataBuffer using a float array of samples for input.
void setPixel(int, int, int[], DataBuffer) Documentation changed from old to new.
Sets a pixel in the DataBuffer using an int array of samples for input.
void setPixels(int, int, int, int, double[], DataBuffer) Documentation changed from old to new.
Sets all samples for a rectangle of pixels from a double array containing one sample per array element.
void setPixels(int, int, int, int, float[], DataBuffer) Documentation changed from old to new.
Sets all samples for a rectangle of pixels from a float array containing one sample per array element.
void setPixels(int, int, int, int, int[], DataBuffer) Documentation changed from old to new.
Sets all samples for a rectangle of pixels from an int array containing one sample per array element.
void setSample(int, int, int, int, DataBuffer) Documentation changed from old to new.
Sets a sample in the specified band for the pixel located at (x y) in the DataBuffer using an int for input.
void setSample(int, int, int, double, DataBuffer) Documentation changed from old to new.
Sets a sample in the specified band for the pixel located at (x y) in the DataBuffer using a double for input.
void setSample(int, int, int, float, DataBuffer) Documentation changed from old to new.
Sets a sample in the specified band for the pixel located at (x y) in the DataBuffer using a float for input.
void setSamples(int, int, int, int, int, double[], DataBuffer) Documentation changed from old to new.
Sets the samples in the specified band for the specified rectangle of pixels from a double array containing one sample per array element.
void setSamples(int, int, int, int, int, float[], DataBuffer) Documentation changed from old to new.
Sets the samples in the specified band for the specified rectangle of pixels from a float array containing one sample per array element.
void setSamples(int, int, int, int, int, int[], DataBuffer) Documentation changed from old to new.
Sets the samples in the specified band for the specified rectangle of pixels from an int array containing one sample per array element.