Example usage for Java java.awt.image DataBuffer fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TYPE_BYTE Tag for unsigned byte data. |
int | TYPE_USHORT Tag for unsigned short data. |
int | TYPE_SHORT Tag for signed short data. |
int | TYPE_INT Tag for int data. |
int | TYPE_FLOAT Tag for float data. |
int | TYPE_DOUBLE Tag for double data. |
int | TYPE_UNDEFINED Tag for undefined data. |
int | getDataType() Returns the data type of this DataBuffer. |
int | getDataTypeSize(int type) Returns the size (in bits) of the data type, given a datatype tag. |
int | getElem(int i) Returns the requested data array element from the first (default) bank as an integer. |
int | getNumBanks() Returns the number of banks in this DataBuffer. |
int[] | getOffsets() Returns the offsets (in array elements) of all the banks. |
int | getSize() Returns the size (in array elements) of all banks. |
void | setElem(int i, int val) Sets the requested data array element in the first (default) bank from the given integer. |