railo.runtime.img.filter
Class QuiltFilter

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

public class QuiltFilter
extends WholeImageFilter
implements DynFiltering


Constructor Summary
QuiltFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 float getA()
           
 float getB()
           
 float getC()
           
 Colormap getColormap()
          Get the colormap to be used for the filter.
 float getD()
           
 int getIterations()
          Get the number of iterations the effect is performed.
 int getK()
           
 void randomize()
           
 void setA(float a)
           
 void setB(float b)
           
 void setC(float c)
           
 void setColormap(Colormap colormap)
          Set the colormap to be used for the filter.
 void setD(float d)
           
 void setIterations(int iterations)
          Set the number of iterations the effect is performed.
 void setK(int k)
           
 String toString()
           
 
Methods inherited from class railo.runtime.img.filter.WholeImageFilter
filter
 
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

QuiltFilter

public QuiltFilter()
Method Detail

randomize

public void randomize()

setIterations

public void setIterations(int iterations)
Set the number of iterations the effect is performed.

Parameters:
iterations - the number of iterations
See Also:
getIterations()

getIterations

public int getIterations()
Get the number of iterations the effect is performed.

Returns:
the number of iterations
See Also:
setIterations(int)

setA

public void setA(float a)

getA

public float getA()

setB

public void setB(float b)

getB

public float getB()

setC

public void setC(float c)

getC

public float getC()

setD

public void setD(float d)

getD

public float getD()

setK

public void setK(int k)

getK

public int getK()

setColormap

public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.

Parameters:
colormap - the colormap
See Also:
getColormap()

getColormap

public Colormap getColormap()
Get the colormap to be used for the filter.

Returns:
the colormap
See Also:
setColormap(railo.runtime.img.filter.Colormap)

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 WholeImageFilter
Throws:
PageException


Copyright © 2012 Railo