public class DoubleImageFilter
extends java.awt.image.ImageFilter
ImageFilter
that produces double faces: the source image is drawn
twice with a vertical shift.Constructor and Description |
---|
DoubleImageFilter(int doubleFaceOffset)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
imageComplete(int status) |
void |
setDimensions(int width,
int height) |
void |
setHints(int hints) |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
byte[] pixels,
int off,
int scansize) |
void |
setPixels(int x,
int y,
int w,
int h,
java.awt.image.ColorModel model,
int[] pixels,
int off,
int scansize) |
public DoubleImageFilter(int doubleFaceOffset)
doubleFaceOffset
- the offset for shifting the two imagespublic void setDimensions(int width, int height)
setDimensions
in interface java.awt.image.ImageConsumer
setDimensions
in class java.awt.image.ImageFilter
public void setHints(int hints)
setHints
in interface java.awt.image.ImageConsumer
setHints
in class java.awt.image.ImageFilter
public void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, byte[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
setPixels
in class java.awt.image.ImageFilter
public void setPixels(int x, int y, int w, int h, java.awt.image.ColorModel model, int[] pixels, int off, int scansize)
setPixels
in interface java.awt.image.ImageConsumer
setPixels
in class java.awt.image.ImageFilter
public void imageComplete(int status)
imageComplete
in interface java.awt.image.ImageConsumer
imageComplete
in class java.awt.image.ImageFilter