Module ij
Package ij.process

Interface Blitter

All Known Implementing Classes:
ByteBlitter, ColorBlitter, FloatBlitter, ShortBlitter

public interface Blitter
ImageJ bit blitting classes must implement this interface.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int ADD
    dst=dst+src
    static int AND
    dst=dst AND src
    static int AVERAGE
    dst=(dst+src)/2
    static int COPY
    dst=src
    static int COPY_INVERTED
    dst=255-src (8-bits and RGB)
    static int COPY_TRANSPARENT
    Copies with white pixels transparent.
    static int COPY_ZERO_TRANSPARENT
    Copies with zero pixels transparent.
    static int DIFFERENCE
    dst=abs(dst-src)
    static int DIVIDE
    dst=dst/src
    static int MAX
    dst=max(dst,src)
    static int MIN
    dst=min(dst,src)
    static int MULTIPLY
    dst=src*src
    static int OR
    dst=dst OR src
    static int SUBTRACT
    dst=dst-src
    static int XOR
    dst=dst XOR src
  • Method Summary

    Modifier and Type Method Description
    void copyBits​(ImageProcessor src, int x, int y, int mode)
    Copies the image in 'src' 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).