|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.TransformFilter
railo.runtime.img.filter.RotateFilter
public class RotateFilter
A filter which rotates an image. These days this is easier done with Java2D, but this filter remains.
Field Summary |
---|
Fields inherited from class railo.runtime.img.filter.TransformFilter |
---|
BILINEAR, NEAREST_NEIGHBOUR |
Constructor Summary | |
---|---|
RotateFilter()
Construct a RotateFilter. |
|
RotateFilter(float angle)
Construct a RotateFilter. |
|
RotateFilter(float angle,
boolean resize)
Construct a RotateFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAngle()
Returns the angle of rotation. |
void |
setAngle(float angle)
Specifies the angle of rotation. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.TransformFilter |
---|
filter, getEdgeAction, getInterpolation, setEdgeAction, setInterpolation |
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 resizedMethod Detail |
---|
public void setAngle(float angle)
angle
- the angle of rotation.getAngle()
public float getAngle()
setAngle(float)
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class TransformFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |