BufferedImageOp, Cloneablepublic class EmbossFilter extends WholeImageFilter
originalSpace, transformedSpace| 构造器 | 说明 |
|---|---|
EmbossFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBfilter, transformSpacepublic 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)
WholeImageFilterfilterPixels 在类中 WholeImageFilterwidth - the image widthheight - the image heightinPixels - the image pixelstransformedSpace - the output boundsCopyright © 2019. All rights reserved.