public class ChromeFilter extends LightFilter implements DynFiltering
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLight
AMBIENT, BUMPS_FROM_BEVEL, BUMPS_FROM_IMAGE, BUMPS_FROM_IMAGE_ALPHA, BUMPS_FROM_MAP, COLORS_CONSTANT, COLORS_FROM_IMAGE, DISTANT, POINT, SPOT
Constructor and Description |
---|
ChromeFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAmount()
Get the amount of chrome.
|
float |
getExposure()
Get the exppsure of the effect.
|
void |
setAmount(float amount)
Set the amount of effect.
|
void |
setExposure(float exposure)
Set the exppsure of the effect.
|
String |
toString() |
addLight, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getMaterial, getViewDistance, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setMaterial, setViewDistance
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public ChromeFilter()
public void setAmount(float amount)
amount
- the amountgetAmount()
public float getAmount()
setAmount(float)
public void setExposure(float exposure)
exposure
- the exposuregetExposure()
public float getExposure()
setExposure(float)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class WholeImageFilter
public String toString()
toString
in class LightFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class LightFilter
PageException
Copyright © 2015 Lucee