com.alee.graphics.filters
Class PointFilter

java.lang.Object
  extended by com.alee.graphics.filters.AbstractBufferedImageOp
      extended by 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.


Field Summary
protected  boolean canFilterIndexColorModel
           
 
Constructor Summary
PointFilter()
           
 
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 com.alee.graphics.filters.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canFilterIndexColorModel

protected boolean canFilterIndexColorModel
Constructor Detail

PointFilter

public PointFilter()
Method Detail

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)