BufferedImageOp, Cloneablepublic class ChromeFilter extends LightFilter
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLightAMBIENT, BUMPS_FROM_BEVEL, BUMPS_FROM_IMAGE, BUMPS_FROM_IMAGE_ALPHA, BUMPS_FROM_MAP, COLORS_CONSTANT, COLORS_FROM_IMAGE, DISTANT, POINT, r255, SPOToriginalSpace, transformedSpace| 构造器 | 说明 |
|---|---|
ChromeFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBaddLight, filterPixels, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getMaterial, getViewDistance, phongShade, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setFromRGB, setMaterial, setViewDistancetransformSpacepublic 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 BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 WholeImageFilterpublic String toString()
toString 在类中 LightFilterCopyright © 2019. All rights reserved.