railo.runtime.img.filter
Class ChromeFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.WholeImageFilter
railo.runtime.img.filter.LightFilter
railo.runtime.img.filter.ChromeFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class ChromeFilter
- extends LightFilter
- implements DynFiltering
A filter which simulates chrome.
Methods inherited from class railo.runtime.img.filter.LightFilter |
addLight, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getMaterial, getViewDistance, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setMaterial, setViewDistance |
ChromeFilter
public ChromeFilter()
setAmount
public void setAmount(float amount)
- Set the amount of effect.
- Parameters:
amount
- the amount- See Also:
getAmount()
getAmount
public float getAmount()
- Get the amount of chrome.
- Returns:
- the amount
- See Also:
setAmount(float)
setExposure
public void setExposure(float exposure)
- Set the exppsure of the effect.
- Parameters:
exposure
- the exposure- See Also:
getExposure()
getExposure
public float getExposure()
- Get the exppsure of the effect.
- Returns:
- the exposure
- See Also:
setExposure(float)
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Specified by:
filter
in interface BufferedImageOp
- Overrides:
filter
in class WholeImageFilter
toString
public String toString()
- Overrides:
toString
in class LightFilter
filter
public BufferedImage filter(BufferedImage src,
Struct parameters)
throws PageException
- Specified by:
filter
in interface DynFiltering
- Overrides:
filter
in class LightFilter
- Throws:
PageException
Copyright © 2012 Railo