com.jhlabs.image
Class ShearFilter
- BufferedImageOp, Cloneable
ShearFilter
public ShearFilter()
getXAngle
public float getXAngle()
getYAngle
public float getYAngle()
isResize
public boolean isResize()
setResize
public void setResize(boolean resize)
setXAngle
public void setXAngle(float xangle)
setYAngle
public void setYAngle(float yangle)
toString
public String toString()
transformInverse
protected void transformInverse(int x,
int y,
float[] out)
Inverse transform a point. This method needs to be overriden by all subclasses.
- transformInverse in interface 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 image
transformSpace
protected void transformSpace(Rectangle r)
Forward transform a rectangle. Used to determine the size of the output image.
- transformSpace in interface TransformFilter