Java java.awt.image DataBufferInt fields, constructors, methods, implement or subclass

Example usage for Java java.awt.image DataBufferInt fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt.image DataBufferInt.

The text is from its open source code.

Constructor

DataBufferInt(int size, int numBanks)
Constructs an integer-based DataBuffer with the specified number of banks, all of which are the specified size.
DataBufferInt(int[] dataArray, int size)
Constructs an integer-based DataBuffer with a single bank using the specified array.
DataBufferInt(int[][] dataArray, int size)
Constructs an integer-based DataBuffer with the specified arrays.

Method

int[][]getBankData()
Returns the data arrays for all banks.
int[]getData(int bank)
Returns the data array for the specified bank.
int[]getData()
Returns the default (first) int data array in DataBuffer .
intgetNumBanks()
Returns the number of banks in this DataBuffer.
intgetOffset()
Returns the offset of the default bank in array elements.