public class PlasmaFilter extends WholeImageFilter implements DynFiltering
Modifier and Type | Field and Description |
---|---|
float |
turbulence |
Constructor and Description |
---|
PlasmaFilter() |
Modifier and Type | Method and Description |
---|---|
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() |
filter
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public float turbulence
public PlasmaFilter()
public void setTurbulence(float turbulence)
turbulence
- the turbulence of the texture.getTurbulence()
public float getTurbulence()
setTurbulence(float)
public void setScaling(float scaling)
public float getScaling()
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(lucee.runtime.img.filter.Colormap)
public void setUseColormap(boolean useColormap)
public boolean getUseColormap()
public void setUseImageColors(boolean useImageColors)
public boolean getUseImageColors()
public void setSeed(int seed)
public int getSeed()
public void randomize()
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class WholeImageFilter
PageException
Copyright © 2015 Lucee