BufferedImageOp, Cloneablepublic class OffsetFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, RGB_CLAMP, transformedSpace, WRAP, ZERO| 构造器 | 说明 |
|---|---|
OffsetFilter() |
|
OffsetFilter(int xOffset,
int yOffset,
boolean wrap) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
|
boolean |
getWrap() |
|
int |
getXOffset() |
|
int |
getYOffset() |
|
void |
setWrap(boolean wrap) |
|
void |
setXOffset(int xOffset) |
|
void |
setYOffset(int yOffset) |
|
String |
toString() |
|
protected void |
transformInverse(int x,
int y,
float[] out) |
Inverse transform a point.
|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBfilterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformSpacepublic OffsetFilter()
public OffsetFilter(int xOffset,
int yOffset,
boolean wrap)
public void setXOffset(int xOffset)
public int getXOffset()
public void setYOffset(int yOffset)
public int getYOffset()
public void setWrap(boolean wrap)
public boolean getWrap()
protected void transformInverse(int x,
int y,
float[] out)
TransformFiltertransformInverse 在类中 TransformFilterx - the X position of the pixel in the output imagey - the Y position of the pixel in the output imageout - the position of the pixel in the input imagepublic BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 TransformFilterCopyright © 2019. All rights reserved.