| 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.RotateFilterpublic class RotateFilterextends 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 |
|
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 RotateFilter()
Construct a RotateFilter.
public RotateFilter(float angle)
Construct a RotateFilter.
- Parameters:
angle- the angle to rotate
public RotateFilter(float angle,
boolean resize)Construct a RotateFilter.
- Parameters:
angle- the angle to rotateresize- true if the output image should be resized
public float getAngle()
Returns the angle of rotation.
- Returns:
- the angle of rotation.
- See Also:
setAngle(float)
public void setAngle(float angle)
Specifies the angle of rotation.
- Parameters:
angle- the angle of rotation.
- See Also:
getAngle()
public String toString()
protected void transformInverse(int x,
int y,
float[] out)
- Overrides:
- transformInverse in interface TransformFilter
protected void transformSpace(Rectangle rect)
- Overrides:
- transformSpace in interface TransformFilter