railo.runtime.img.filter
Class PointFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.PointFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering
Direct Known Subclasses:
ChannelMixFilter, CheckFilter, DissolveFilter, DitherFilter, ErodeAlphaFilter, FadeFilter, FBMFilter, FillFilter, FlareFilter, FourColorFilter, GrayFilter, GrayscaleFilter, HSBAdjustFilter, InvertAlphaFilter, InvertFilter, JavaLnFFilter, LookupFilter, MapColorsFilter, MarbleTexFilter, MaskFilter, NoiseFilter, OpacityFilter, PosterizeFilter, PremultiplyFilter, RGBAdjustFilter, SaturationFilter, SkyFilter, SparkleFilter, StampFilter, TextureFilter, ThresholdFilter, TransferFilter, UnpremultiplyFilter, WeaveFilter, WoodFilter

public abstract class PointFilter
extends AbstractBufferedImageOp
implements DynFiltering

An abstract superclass for point filters. The interface is the same as the old RGBImageFilter.


Constructor Summary
PointFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, BufferedImage dst)
           
 BufferedImage filter(BufferedImage src, Struct parameters)
           
abstract  int filterRGB(int x, int y, int rgb)
           
 void setDimensions(int width, int height)
           
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointFilter

public PointFilter()
Method Detail

filter

public BufferedImage filter(BufferedImage src,
                            BufferedImage dst)
Specified by:
filter in interface BufferedImageOp

setDimensions

public void setDimensions(int width,
                          int height)

filterRGB

public abstract int filterRGB(int x,
                              int y,
                              int rgb)

filter

public BufferedImage filter(BufferedImage src,
                            Struct parameters)
                     throws PageException
Specified by:
filter in interface DynFiltering
Throws:
PageException


Copyright © 2012 Railo