Module ij
Package ij.process

Class ByteBlitter

  • All Implemented Interfaces:

    public class ByteBlitter
    extends java.lang.Object
    implements Blitter
    This class does bit blitting of byte images.
    • Constructor Detail

      • ByteBlitter

        public ByteBlitter​(ByteProcessor ip)
        Constructs a ByteBlitter from a ByteProcessor.
    • Method Detail

      • setTransparentColor

        public void setTransparentColor​(java.awt.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