public class PixelData extends Object
This class does not hold information regarding how many pixels or scan lines are actually stored. Thus this class is only meaningful in some larger context.
Modifier and Type | Field and Description |
---|---|
int |
firstPixel
The index of the first pixel in the pixels array.
|
int[] |
pixels
The pixels values in ARGB format.
|
int |
rowStride
The row stride (ie number of int values between corresponding
pixels in consecutive scan lines.
|
Constructor and Description |
---|
PixelData() |
Modifier and Type | Method and Description |
---|---|
static ImageData |
argbPixelsToImageData(int[] pixels,
int offset,
int width,
int height,
int rowStride,
int options) |
public int[] pixels
public int firstPixel
public int rowStride
public static ImageData argbPixelsToImageData(int[] pixels, int offset, int width, int height, int rowStride, int options)