railo.runtime.img.filter
Class PlasmaFilter

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

public class PlasmaFilter
extends WholeImageFilter
implements DynFiltering


Field Summary
 float turbulence
           
 
Constructor Summary
PlasmaFilter()
           
 
Method Summary
 BufferedImage filter(BufferedImage src, Struct parameters)
           
 Colormap getColormap()
          Get the colormap to be used for the filter.
 float getScaling()
           
 int getSeed()
           
 float getTurbulence()
          Returns the turbulence of the effect.
 boolean getUseColormap()
           
 boolean getUseImageColors()
           
 void randomize()
           
 void setColormap(Colormap colormap)
          Set the colormap to be used for the filter.
 void setScaling(float scaling)
           
 void setSeed(int seed)
           
 void setTurbulence(float turbulence)
          Specifies the turbulence of the texture.
 void setUseColormap(boolean useColormap)
           
 void setUseImageColors(boolean useImageColors)
           
 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
 

Field Detail

turbulence

public float turbulence
Constructor Detail

PlasmaFilter

public PlasmaFilter()
Method Detail

setTurbulence

public void setTurbulence(float turbulence)
Specifies the turbulence of the texture.

Parameters:
turbulence - the turbulence of the texture.
See Also:
getTurbulence()

getTurbulence

public float getTurbulence()
Returns the turbulence of the effect.

Returns:
the turbulence of the effect.
See Also:
setTurbulence(float)

setScaling

public void setScaling(float scaling)

getScaling

public float getScaling()

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)

setUseColormap

public void setUseColormap(boolean useColormap)

getUseColormap

public boolean getUseColormap()

setUseImageColors

public void setUseImageColors(boolean useImageColors)

getUseImageColors

public boolean getUseImageColors()

setSeed

public void setSeed(int seed)

getSeed

public int getSeed()

randomize

public void randomize()

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