public class PixelBuffer extends Object
| Modifier and Type | Field and Description |
|---|---|
ColorModel |
cm |
int[] |
data |
protected PixelFormat |
format |
protected int |
height_ |
protected int |
width_ |
| Constructor and Description |
|---|
PixelBuffer() |
| Modifier and Type | Method and Description |
|---|---|
int |
area() |
void |
copyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY) |
void |
fillRect(int x,
int y,
int w,
int h,
int pix) |
PixelFormat |
getPF() |
int |
height() |
void |
imageRect(int x,
int y,
int w,
int h,
int[] pix) |
void |
maskRect(int x,
int y,
int w,
int h,
int[] pix,
byte[] mask) |
void |
setPF(PixelFormat pf) |
int |
width() |
public int[] data
public ColorModel cm
protected PixelFormat format
protected int width_
protected int height_
public void setPF(PixelFormat pf)
public PixelFormat getPF()
public final int width()
public final int height()
public final int area()
public void fillRect(int x,
int y,
int w,
int h,
int pix)
public void imageRect(int x,
int y,
int w,
int h,
int[] pix)
public void copyRect(int x,
int y,
int w,
int h,
int srcX,
int srcY)
public void maskRect(int x,
int y,
int w,
int h,
int[] pix,
byte[] mask)
Copyright © 2019. All rights reserved.