Ellipse2D.getPathIterator(AffineTransform at) has the following syntax.
public PathIterator getPathIterator(AffineTransform at)
In the following code shows how to use Ellipse2D.getPathIterator(AffineTransform at) method.
import java.awt.geom.AffineTransform; import java.awt.geom.Ellipse2D; /* w w w . ja va 2 s. 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)); } }