public class EmbossFilter extends WholeImageFilter
originalSpace, transformedSpace
Constructor and Description |
---|
EmbossFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
java.awt.Rectangle transformedSpace)
Actually filter the pixels.
|
float |
getAzimuth() |
float |
getBumpHeight() |
float |
getElevation() |
boolean |
getEmboss() |
void |
setAzimuth(float azimuth) |
void |
setBumpHeight(float bumpHeight) |
void |
setElevation(float elevation) |
void |
setEmboss(boolean emboss) |
java.lang.String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setAzimuth(float azimuth)
public float getAzimuth()
public void setElevation(float elevation)
public float getElevation()
public void setBumpHeight(float bumpHeight)
public float getBumpHeight()
public void setEmboss(boolean emboss)
public boolean getEmboss()
protected int[] filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output boundspublic java.lang.String toString()
toString
in class java.lang.Object