org.apache.tools.ant.types.optional.image
public class Rotate extends TransformOperation implements DrawOperation
See Also: Image
Field Summary | |
---|---|
protected float | angle |
Method Summary | |
---|---|
PlanarImage | executeDrawOperation()
Performs the image rotation when being handled as a DrawOperation.
|
PlanarImage | executeTransformOperation(PlanarImage image)
Performs the image rotation when being handled as a TransformOperation. |
PlanarImage | performRotate(PlanarImage image)
Rotate an image. |
void | setAngle(String ang)
Sets the angle of rotation in degrees. |
Returns: the image.
Parameters: image The image to perform the transformation on.
Returns: the transformed image.
Parameters: image the image to rotate.
Returns: the rotated image.
Parameters: ang The angle at which to rotate the image