|
@@ -58,13 +58,13 @@ import javax.media.jai.InterpolationNearest; |
|
|
import javax.media.jai.JAI; |
|
|
import javax.media.jai.JAI; |
|
|
import java.awt.image.renderable.ParameterBlock; |
|
|
import java.awt.image.renderable.ParameterBlock; |
|
|
import java.awt.image.BufferedImage; |
|
|
import java.awt.image.BufferedImage; |
|
|
//import java.awt.*; |
|
|
|
|
|
|
|
|
import java.awt.Graphics2D; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* ImageOperation to rotate an image by a certain degree |
|
|
* ImageOperation to rotate an image by a certain degree |
|
|
* |
|
|
* |
|
|
* @author <a href="mailto:kzgrey@ntplx.net">Kevin Z Grey</a> |
|
|
* @author <a href="mailto:kzgrey@ntplx.net">Kevin Z Grey</a> |
|
|
* @see org.apache.tools.ant.tasks.optional.image.Image |
|
|
|
|
|
|
|
|
* @see org.apache.tools.ant.taskdefs.optional.image.Image |
|
|
*/ |
|
|
*/ |
|
|
public class Rotate extends TransformOperation implements DrawOperation { |
|
|
public class Rotate extends TransformOperation implements DrawOperation { |
|
|
protected float angle = 0.0F; |
|
|
protected float angle = 0.0F; |
|
|