Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
ColorBlitter Class Reference
Inheritance diagram for ColorBlitter:
Blitter

Public Member Functions

 ColorBlitter (ColorProcessor ip)
 
void setTransparentColor (Color c)
 
void copyBits (ImageProcessor ip, int xloc, int yloc, int mode)
 

Additional Inherited Members

- Static Public Attributes inherited from Blitter
static final int COPY = 0
 
static final int COPY_INVERTED = 1
 
static final int COPY_TRANSPARENT = 2
 
static final int ADD = 3
 
static final int SUBTRACT = 4
 
static final int MULTIPLY = 5
 
static final int DIVIDE = 6
 
static final int AVERAGE = 7
 
static final int DIFFERENCE = 8
 
static final int AND = 9
 
static final int OR = 10
 
static final int XOR = 11
 
static final int MIN = 12
 
static final int MAX = 13
 

Detailed Description

This class does bit blitting of RGB images.

Definition at line 6 of file ColorBlitter.java.

Constructor & Destructor Documentation

ColorBlitter ( ColorProcessor  ip)
inline

Constructs a ColorBlitter from a ColorProcessor.

Definition at line 14 of file ColorBlitter.java.

Member Function Documentation

void copyBits ( ImageProcessor  ip,
int  xloc,
int  yloc,
int  mode 
)
inline

Copies the RGB image in 'ip' to (x,y) using the specified mode.

Implements Blitter.

Definition at line 26 of file ColorBlitter.java.

void setTransparentColor ( Color  c)
inline

Sets the transparent color used in the COPY_TRANSPARENT mode (default is Color.white).

Implements Blitter.

Definition at line 21 of file ColorBlitter.java.


The documentation for this class was generated from the following file: