KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > geom > PathIterator


1 /*
2    SwingWT
3    Copyright(c)2003-2004, R. Rawson-Tetley
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: bobintetley@users.sourceforge.net
9
10    $Log: PathIterator.java,v $
11    Revision 1.1 2004/01/15 15:20:29 bobintetley
12    Java2D work
13
14
15 */

16
17 package swingwt.awt.geom;
18
19 public interface PathIterator {
20   
21     public static final int WIND_EVEN_ODD = 0;
22     public static final int WIND_NON_ZERO = 1;
23     public static final int SEG_MOVETO = 0;
24     public static final int SEG_LINETO = 1;
25     public static final int SEG_QUADTO = 2;
26     public static final int SEG_CUBICTO = 3;
27     public static final int SEG_CLOSE = 4;
28     public int getWindingRule();
29     public boolean isDone();
30     public void next();
31     public int currentSegment(float[] coords);
32     public int currentSegment(double[] coords);
33 }
34
Popular Tags