ADD, AND, AVERAGE, COPY, COPY_INVERTED, COPY_TRANSPARENT, COPY_ZERO_TRANSPARENT, DIFFERENCE, DIVIDE, MAX, MIN, MULTIPLY, OR, SUBTRACT, XOR
Constructor and Description |
---|
ShortBlitter(ShortProcessor ip)
Constructs a ShortBlitter from a ShortProcessor.
|
Modifier and Type | Method and 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(java.awt.Color c)
Sets the transparent color used in the COPY_TRANSPARENT
mode (default is Color.white).
|
public ShortBlitter(ShortProcessor ip)
public void setTransparentColor(java.awt.Color c)
Blitter
setTransparentColor
in interface Blitter
public void copyBits(ImageProcessor ip, int xloc, int yloc, int mode)