public class ChromeFilter extends LightFilter
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, material, POINT, r255, SPOT
originalSpace, transformedSpace
Constructor and Description |
---|
ChromeFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
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.
|
java.lang.String |
toString() |
addLight, filterPixels, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getMaterial, getViewDistance, phongShade, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setFromRGB, setMaterial, setViewDistance
transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setAmount(float amount)
amount
- the amount, min-value 0, max-value 1getAmount()
public float getAmount()
setAmount(float)
public void setExposure(float exposure)
exposure
- the exposure, min-value 0, max-value 1getExposure()
public float getExposure()
setExposure(float)
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class WholeImageFilter
public java.lang.String toString()
toString
in class LightFilter