Example usage for Java java.awt.image SampleModel fields, constructors, methods, implement or subclass
The text is from its open source code.
SampleModel | createCompatibleSampleModel(int w, int h) Creates a SampleModel which describes data in this SampleModel's format, but with a different width and height. |
DataBuffer | createDataBuffer() Creates a DataBuffer that corresponds to this SampleModel. |
int | getDataType() Returns the data type of the DataBuffer storing the pixel data. |
int | getHeight() Returns the height in pixels. |
int | getNumBands() Returns the total number of bands of image data. |
int[] | getPixel(int x, int y, int[] iArray, DataBuffer data) Returns the samples for a specified pixel in an int array, one sample per array element. |
float[] | getPixel(int x, int y, float[] fArray, DataBuffer data) Returns the samples for the specified pixel in an array of float. |
double[] | getPixel(int x, int y, double[] dArray, DataBuffer data) Returns the samples for the specified pixel in an array of double. |
int[] | getSampleSize() Returns the size in bits of samples for all bands. |
int | getTransferType() Returns the TransferType used to transfer pixels via the getDataElements and setDataElements methods. |
int | getWidth() Returns the width in pixels. |