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