ij.process
Class ByteBlitter
java.lang.Object
ij.process.ByteBlitter
- All Implemented Interfaces:
- Blitter
public class ByteBlitter
- extends Object
- implements Blitter
This class does bit blitting of byte images.
Fields inherited from interface ij.process.Blitter |
ADD, AND, AVERAGE, COPY, COPY_INVERTED, COPY_TRANSPARENT, COPY_ZERO_TRANSPARENT, DIFFERENCE, DIVIDE, MAX, MIN, MULTIPLY, OR, SUBTRACT, XOR |
Method Summary |
void |
copyBits(ImageProcessor ip,
int xloc,
int yloc,
int mode)
Copies the byte 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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteBlitter
public ByteBlitter(ByteProcessor ip)
- Constructs a ByteBlitter from a ByteProcessor.
setTransparentColor
public void setTransparentColor(Color c)
- Description copied from interface:
Blitter
- Sets the transparent color used in the COPY_TRANSPARENT
mode (default is Color.white).
- Specified by:
setTransparentColor
in interface Blitter
copyBits
public void copyBits(ImageProcessor ip,
int xloc,
int yloc,
int mode)
- Copies the byte image in 'ip' to (x,y) using the specified mode.
- Specified by:
copyBits
in interface Blitter
Copyright © 1997–2014 NIH. All rights reserved.