railo.runtime.img.filter
Class ErodeAlphaFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.PointFilter
          extended by railo.runtime.img.filter.ErodeAlphaFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class ErodeAlphaFilter
extends PointFilter
implements DynFiltering


Constructor Summary
ErodeAlphaFilter()
           
ErodeAlphaFilter(float radius, float threshold, float softness)
           
 
Method Summary
 BufferedImage filter(BufferedImage src, BufferedImage dst)
           
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 int filterRGB(int x, int y, int rgb)
           
 float getRadius()
           
 float getSoftness()
           
 float getThreshold()
           
 void setRadius(float radius)
           
 void setSoftness(float softness)
           
 void setThreshold(float threshold)
           
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.PointFilter
setDimensions
 
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, wait, wait, wait
 

Constructor Detail

ErodeAlphaFilter

public ErodeAlphaFilter()

ErodeAlphaFilter

public ErodeAlphaFilter(float radius,
                        float threshold,
                        float softness)
Method Detail

setRadius

public void setRadius(float radius)

getRadius

public float getRadius()

setThreshold

public void setThreshold(float threshold)

getThreshold

public float getThreshold()

setSoftness

public void setSoftness(float softness)

getSoftness

public float getSoftness()

filter

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

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Specified by:
filterRGB in class PointFilter

toString

public String toString()
Overrides:
toString in class Object

filter

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


Copyright © 2012 Railo