java.lang.Object
ij.process.ColorBlitter
- All Implemented Interfaces:
Blitter
This class does bit blitting of RGB images.
-
Field Summary
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
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ColorBlitter from a ColorProcessor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyBits
(ImageProcessor ip, int xloc, int yloc, int mode) Copies the RGB image in 'ip' to (x,y) using the specified mode.void
Sets the transparent color used in the COPY_TRANSPARENT mode (default is Color.white).
-
Constructor Details
-
ColorBlitter
Constructs a ColorBlitter from a ColorProcessor.
-
-
Method Details
-
setTransparentColor
Description copied from interface:Blitter
Sets the transparent color used in the COPY_TRANSPARENT mode (default is Color.white).- Specified by:
setTransparentColor
in interfaceBlitter
-
copyBits
Copies the RGB image in 'ip' to (x,y) using the specified mode.
-