public class EmbossFilter extends WholeImageFilter
Modifier and Type | Field and Description |
---|---|
private float |
azimuth |
private float |
elevation |
private boolean |
emboss |
private static float |
pixelScale |
private float |
width45 |
originalSpace, transformedSpace
Constructor and Description |
---|
EmbossFilter() |
Modifier and Type | Method and Description |
---|---|
protected int[] |
filterPixels(int width,
int height,
int[] inPixels,
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) |
String |
toString() |
filter, transformSpace
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private static final float pixelScale
private float azimuth
private float elevation
private boolean emboss
private float width45
public EmbossFilter()
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, Rectangle transformedSpace)
WholeImageFilter
filterPixels
in class WholeImageFilter
width
- the image widthheight
- the image heightinPixels
- the image pixelstransformedSpace
- the output boundsWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses