aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/PathIterator.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt/geom/PathIterator.java')
-rw-r--r--libjava/java/awt/geom/PathIterator.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/libjava/java/awt/geom/PathIterator.java b/libjava/java/awt/geom/PathIterator.java
new file mode 100644
index 0000000..49d9a3b
--- /dev/null
+++ b/libjava/java/awt/geom/PathIterator.java
@@ -0,0 +1,31 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libjava.
+
+This software is copyrighted work licensed under the terms of the
+Libjava License. Please consult the file "LIBJAVA_LICENSE" for
+details. */
+
+package java.awt.geom;
+
+/**
+ * @author Tom Tromey <tromey@cygnus.com>
+ * @date April 16, 2000
+ */
+
+public interface PathIterator
+{
+ public static final int SEG_CLOSE = 4;
+ public static final int SEG_CUBICTO = 3;
+ public static final int SEG_LINETO = 1;
+ public static final int SEG_MOVETO = 0;
+ public static final int SEG_QUADTO = 2;
+ public static final int WIND_EVEN_ODD = 0;
+ public static final int WIND_NON_ZERO = 1;
+
+ public int currentSegment (double[] coords);
+ public int currentSegment (float[] coords);
+ public int getWindingRule ();
+ public boolean isDone ();
+ public void next ();
+}