| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOpcom.jhlabs.image.TransformFiltercom.jhlabs.image.ShearFilterpublic class ShearFilterextends TransformFilterField Summary |
Fields inherited from class com.jhlabs.image.TransformFilter | |
BILINEAR, CLAMP, NEAREST_NEIGHBOUR, RGB_CLAMP, WRAP, ZERO, edgeAction, interpolation, originalSpace, transformedSpace | |
Constructor Summary | |
Method Summary | |
float | |
float | |
boolean |
|
void |
|
void |
|
void |
|
String |
|
protected void |
|
protected void |
|
Methods inherited from class com.jhlabs.image.TransformFilter | |
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation, transformInverse, transformSpace | |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp | |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB | |
public float getXAngle()
public float getYAngle()
public boolean isResize()
public void setResize(boolean resize)
public void setXAngle(float xangle)
public void setYAngle(float yangle)
public String toString()
protected void transformInverse(int x,
int y,
float[] out)Inverse transform a point. This method needs to be overriden by all subclasses.
- Overrides:
- transformInverse in interface TransformFilter
- Parameters:
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
protected void transformSpace(Rectangle r)
Forward transform a rectangle. Used to determine the size of the output image.
- Overrides:
- transformSpace in interface TransformFilter
- Parameters: