Package com.jhlabs.image
Class ChromeFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.WholeImageFilter
com.jhlabs.image.LightFilter
com.jhlabs.image.ChromeFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
A filter which simulates chrome.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jhlabs.image.LightFilter
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLight
-
Field Summary
Fields inherited from class com.jhlabs.image.LightFilter
AMBIENT, BUMPS_FROM_BEVEL, BUMPS_FROM_IMAGE, BUMPS_FROM_IMAGE_ALPHA, BUMPS_FROM_MAP, COLORS_CONSTANT, COLORS_FROM_IMAGE, DISTANT, POINT, r255, SPOT
Fields inherited from class com.jhlabs.image.WholeImageFilter
originalSpace, transformedSpace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(BufferedImage src, BufferedImage dst) float
float
void
setAmount
(float amount) void
setExposure
(float exposure) toString()
Methods inherited from class com.jhlabs.image.LightFilter
addLight, filterPixels, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getViewDistance, phongShade, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setFromRGB, setViewDistance
Methods inherited from class com.jhlabs.image.WholeImageFilter
transformSpace
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
ChromeFilter
public ChromeFilter()
-
-
Method Details
-
setAmount
public void setAmount(float amount) -
getAmount
public float getAmount() -
setExposure
public void setExposure(float exposure) -
getExposure
public float getExposure() -
filter
- Specified by:
filter
in interfaceBufferedImageOp
- Overrides:
filter
in classWholeImageFilter
-
toString
- Overrides:
toString
in classLightFilter
-