Java Ellipse2D .getPathIterator (AffineTransform at)
Syntax
Ellipse2D.getPathIterator(AffineTransform at) has the following syntax.
public PathIterator getPathIterator(AffineTransform at)
Example
In the following code shows how to use Ellipse2D.getPathIterator(AffineTransform at) method.
import java.awt.geom.AffineTransform;
import java.awt.geom.Ellipse2D;
/* w ww . ja v a2s.co m*/
public class Main {
public static void main(String args[]) {
Ellipse2D.Double e = new Ellipse2D.Double(1.0,2.0,2.0,2.0);
e.getPathIterator(AffineTransform.getQuadrantRotateInstance(1));
}
}