railo.runtime.img.filter
Class GlowFilter

java.lang.Object
  extended by railo.runtime.img.filter.AbstractBufferedImageOp
      extended by railo.runtime.img.filter.ConvolveFilter
          extended by railo.runtime.img.filter.GaussianFilter
              extended by railo.runtime.img.filter.GlowFilter
All Implemented Interfaces:
BufferedImageOp, Cloneable, DynFiltering

public class GlowFilter
extends GaussianFilter
implements DynFiltering

A filter which adds Gaussian blur to an image, producing a glowing effect.


Field Summary
 
Fields inherited from class railo.runtime.img.filter.ConvolveFilter
CLAMP_EDGES, WRAP_EDGES, ZERO_EDGES
 
Constructor Summary
GlowFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, BufferedImage dst)
           
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 float getAmount()
          Get the amount of glow.
 void setAmount(float amount)
          Set the amount of glow.
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.GaussianFilter
convolveAndTranspose, getRadius, makeKernel, setRadius
 
Methods inherited from class railo.runtime.img.filter.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
 
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp
clone, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlowFilter

public GlowFilter()
Method Detail

setAmount

public void setAmount(float amount)
Set the amount of glow.

Parameters:
amount - the amount
See Also:
getAmount()

getAmount

public float getAmount()
Get the amount of glow.

Returns:
the amount
See Also:
setAmount(float)

filter

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

toString

public String toString()
Overrides:
toString in class GaussianFilter

filter

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


Copyright © 2012 Railo