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

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

Introduction

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

The text is from its open source code.

Constructor

SinglePixelPackedSampleModel(int dataType, int w, int h, int[] bitMasks)
Constructs a SinglePixelPackedSampleModel with bitMasks.length bands.

Method

int[]getBitMasks()
Returns the bit masks for all bands.
intgetHeight()
Returns the height in pixels.
intgetOffset(int x, int y)
Returns the offset (in data array elements) of pixel (x,y).
intgetScanlineStride()
Returns the scanline stride of this SinglePixelPackedSampleModel.
intgetWidth()
Returns the width in pixels.