aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/PathIterator.java
blob: 49d9a3bb3c1340ec6b9683e15cf36ebe47a95b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ();
}