public class ChromeFilter extends LightFilter
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLight
Modifier and Type | Field and Description |
---|---|
private float |
amount |
private float |
exposure |
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 |
---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
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
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
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses