ADD, AND, AVERAGE, COPY, COPY_INVERTED, COPY_TRANSPARENT, COPY_ZERO_TRANSPARENT, DIFFERENCE, DIVIDE, MAX, MIN, MULTIPLY, OR, SUBTRACT, XOR| Constructor | Description |
|---|---|
ShortBlitter(ShortProcessor ip) |
Constructs a ShortBlitter from a ShortProcessor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
copyBits(ImageProcessor ip,
int xloc,
int yloc,
int mode) |
Copies the 16-bit image in 'ip' to (x,y) using the specified mode.
|
void |
setTransparentColor(Color c) |
Sets the transparent color used in the COPY_TRANSPARENT
mode (default is Color.white).
|
public ShortBlitter(ShortProcessor ip)
public void setTransparentColor(Color c)
BlittersetTransparentColor in interface Blitterpublic void copyBits(ImageProcessor ip, int xloc, int yloc, int mode)