public class ShearFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, RGB_CLAMP, transformedSpace, WRAP, ZERO| Constructor and Description |
|---|
ShearFilter() |
| Modifier and Type | Method and Description |
|---|---|
float |
getXAngle() |
float |
getYAngle() |
boolean |
isResize() |
void |
setResize(boolean resize) |
void |
setXAngle(float xangle) |
void |
setYAngle(float yangle) |
java.lang.String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out)
Inverse transform a point.
|
protected void |
transformSpace(java.awt.Rectangle r)
Forward transform a rectangle.
|
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolationclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic void setResize(boolean resize)
public boolean isResize()
public void setXAngle(float xangle)
public float getXAngle()
public void setYAngle(float yangle)
public float getYAngle()
protected void transformSpace(java.awt.Rectangle r)
TransformFiltertransformSpace in class TransformFilterr - the rectangle to transformprotected void transformInverse(int x,
int y,
float[] out)
TransformFiltertransformInverse in class 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 java.lang.String toString()
toString in class java.lang.Object