public class ShearFilter extends TransformFilter
Modifier and Type | Field and Description |
---|---|
private boolean |
resize |
private float |
shx |
private float |
shy |
private float |
xangle |
private float |
xoffset |
private float |
yangle |
private float |
yoffset |
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() |
private void |
initialize() |
boolean |
isResize() |
void |
setResize(boolean resize) |
void |
setXAngle(float xangle) |
void |
setYAngle(float yangle) |
String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out)
Inverse transform a point.
|
protected void |
transformSpace(Rectangle r)
Forward transform a rectangle.
|
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float xangle
private float yangle
private float shx
private float shy
private float xoffset
private float yoffset
private boolean resize
public ShearFilter()
public void setResize(boolean resize)
public boolean isResize()
public void setXAngle(float xangle)
public float getXAngle()
public void setYAngle(float yangle)
public float getYAngle()
private void initialize()
protected void transformSpace(Rectangle r)
TransformFilter
transformSpace
in class TransformFilter
r
- the rectangle to transformprotected void transformInverse(int x, int y, float[] out)
TransformFilter
transformInverse
in class TransformFilter
x
- 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 imageWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses