public class PerspectiveFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, transformedSpace, WRAP, ZERO
Constructor and Description |
---|
PerspectiveFilter() |
PerspectiveFilter(float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
float x3,
float y3) |
Modifier and Type | Method and Description |
---|---|
float |
getOriginX() |
float |
getOriginY() |
void |
setCorners(float x0,
float y0,
float x1,
float y1,
float x2,
float y2,
float x3,
float y3) |
java.lang.String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out) |
protected void |
transformSpace(java.awt.Rectangle rect) |
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public PerspectiveFilter()
public PerspectiveFilter(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3)
public void setCorners(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3)
protected void transformSpace(java.awt.Rectangle rect)
transformSpace
in class TransformFilter
public float getOriginX()
public float getOriginY()
protected void transformInverse(int x, int y, float[] out)
transformInverse
in class TransformFilter
public java.lang.String toString()
toString
in class java.lang.Object