public class RotateFilter extends TransformFilter
BILINEAR, CLAMP, edgeAction, interpolation, NEAREST_NEIGHBOUR, originalSpace, RGB_CLAMP, transformedSpace, WRAP, ZERO| 构造器和说明 |
|---|
RotateFilter()
Construct a RotateFilter.
|
RotateFilter(float angle)
Construct a RotateFilter.
|
RotateFilter(float angle,
boolean resize)
Construct a RotateFilter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getAngle()
Returns the angle of rotation.
|
void |
setAngle(float angle)
Specifies the angle of rotation.
|
String |
toString() |
protected void |
transformInverse(int x,
int y,
float[] out)
Inverse transform a point.
|
protected void |
transformSpace(Rectangle rect)
Forward transform a rectangle.
|
filter, filterPixelsNN, getEdgeAction, getInterpolation, setEdgeAction, setInterpolationclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic RotateFilter()
public RotateFilter(float angle)
angle - the angle to rotatepublic RotateFilter(float angle,
boolean resize)
angle - the angle to rotateresize - true if the output image should be resizedpublic void setAngle(float angle)
angle - the angle of rotation.getAngle()public float getAngle()
setAngle(float)protected void transformSpace(Rectangle rect)
TransformFiltertransformSpace 在类中 TransformFilterrect - the rectangle to transformprotected void transformInverse(int x,
int y,
float[] out)
TransformFiltertransformInverse 在类中 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 imageCopyright © 2015. All rights reserved.