com.alee.graphics.filters
Class PointFilter
java.lang.Object
com.alee.graphics.filters.AbstractBufferedImageOp
com.alee.graphics.filters.PointFilter
- All Implemented Interfaces:
- java.awt.image.BufferedImageOp
- Direct Known Subclasses:
- OpacityFilter
public abstract class PointFilter
- extends AbstractBufferedImageOp
An abstract superclass for point filters. The interface is the same as the old RGBImageFilter.
Method Summary |
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
|
abstract int |
filterRGB(int x,
int y,
int rgb)
|
void |
setDimensions(int width,
int height)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
canFilterIndexColorModel
protected boolean canFilterIndexColorModel
PointFilter
public PointFilter()
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
setDimensions
public void setDimensions(int width,
int height)
filterRGB
public abstract int filterRGB(int x,
int y,
int rgb)