Changed Methods |
SampleModel createCompatibleSampleModel(int, int)
|
Documentation changed from old to new. |
Creates a new ComponentSampleModel with the specified width and height. |
DataBuffer createDataBuffer()
|
Documentation changed from old to new. |
Creates a DataBuffer that corresponds to this ComponentSampleModel . |
SampleModel createSubsetSampleModel(int[] )
|
Documentation changed from old to new. |
Creates a new ComponentSampleModel with a subset of the bands of this ComponentSampleModel. |
boolean equals(Object )
|
Documentation changed from old to new. Method was inherited from Object, but is now defined locally.
|
|
int[] getBandOffsets()
|
Documentation changed from old to new. |
Returns the band offset for all bands. |
int[] getBankIndices()
|
Documentation changed from old to new. |
Returns the bank indices for all bands. |
int getNumDataElements()
|
Documentation changed from old to new. |
Returns the number of data elements needed to transfer a pixel with the in Object DataBuffer) } and in Object DataBuffer) } methods. |
int getPixelStride()
|
Documentation changed from old to new. |
Returns the pixel stride of this ComponentSampleModel. |
int getSample(int, int, int, DataBuffer)
|
Documentation changed from old to new. |
Returns as int the sample in a specified band for the pixel located at (x y). |
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 getScanlineStride()
|
Documentation changed from old to new. |
Returns the scanline stride of this ComponentSampleModel. |
int hashCode()
|
Documentation changed from old to new. Method was inherited from Object, but is now defined locally. Changed from native to non-native.
|
|
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 . |
int getOffset(int, int)
|
Documentation changed from old to new. |
Gets the offset for the first band of pixel (x y). |
int getOffset(int, int, int)
|
Documentation changed from old to new. |
Gets the offset for band b of pixel (x y). |
int[] getPixel(int, int, int[], DataBuffer)
|
Documentation changed from old to new. |
Returns all samples for the specified pixel in an int array one sample per array element. |
int[] getPixels(int, int, int, int, int[], DataBuffer)
|
Documentation changed from old to new. |
Returns all samples for the specified rectangle of pixels in an int array one sample per array element. |
int getSampleSize(int )
|
Documentation changed from old to new. |
Returns the number of bits per sample for the specified band. |
int[] getSampleSize()
|
Documentation changed from old to new. |
Returns the number of bits per sample for all bands. |
int[] getSamples(int, int, int, int, int, int[], DataBuffer)
|
Documentation changed from old to new. |
Returns the samples in a specified band for the specified rectangle of pixels in an int array one sample per data 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 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, 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, 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 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 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 data array element. |