dataBuffer
JDK Doc(JAVA)Download this dictionary
dataBuffer
- Variable in class java.awt.image.Raster 
protected DataBuffer dataBuffer
The DataBuffer that stores the image data.
 
DataBuffer(int, int)
- Constructor for class java.awt.image.DataBuffer 
protected DataBuffer (int dataType, int size)
Constructs a DataBuffer containing one bank of the specified data type and size.Parameters: dataType - the data type of this DataBuffer - the size of the bankssize - the size of the banks
 
DataBuffer(int, int, int)
- Constructor for class java.awt.image.DataBuffer 
protected DataBuffer (int dataType, int size, int numBanks)
Constructs a DataBuffer containing the specified number of banks. Each bank has the specified size and an offset of 0.Parameters: dataType - the data type of this DataBuffer - the size of the bankssize - the size of the banks - the number of banks in this numBanks - the number of banks in this DataBuffer
 
DataBuffer(int, int, int, int)
- Constructor for class java.awt.image.DataBuffer 
protected DataBuffer (int dataType, int size, int numBanks, int offset)
Constructs a DataBuffer that contains the specified number of banks. Each bank has the specified datatype, size and offset.Parameters: dataType - the data type of this DataBuffer - the size of the bankssize - the size of the banks - the number of banks in this numBanks - the number of banks in this DataBuffer - the offset for each bankoffset - the offset for each bank
 
DataBuffer(int, int, int, int[])
- Constructor for class java.awt.image.DataBuffer 
protected DataBuffer (int dataType, int size, int numBanks, int[] offsets)
Constructs a DataBuffer which contains the specified number of banks. Each bank has the specified datatype and size. The offset for each bank is specified by its respective entry in the offsets array.Parameters: dataType - the data type of this DataBuffer - the size of the bankssize - the size of the banks - the number of banks in this numBanks - the number of banks in this DataBuffer - an array containing an offset for each bank.offsets - an array containing an offset for each bank.Throws: ArrayIndexOutOfBoundsException - if numBanks does not equal the length of offsets