public class RotateFilter extends TransformFilter implements DynFiltering
BILINEAR, NEAREST_NEIGHBOUR
Constructor and Description |
---|
RotateFilter()
Construct a RotateFilter.
|
RotateFilter(float angle)
Construct a RotateFilter.
|
RotateFilter(float angle,
boolean resize)
Construct a RotateFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
float |
getAngle()
Returns the angle of rotation.
|
void |
setAngle(float angle)
Specifies the angle of rotation.
|
String |
toString() |
filter, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public 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)
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
Copyright © 2015 Lucee