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

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

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