< prev index next >

src/java.desktop/share/classes/java/awt/geom/PathIterator.java

Print this page

        

@@ -26,11 +26,11 @@
 package java.awt.geom;
 
 import java.lang.annotation.Native;
 
 /**
- * The <code>PathIterator</code> interface provides the mechanism
+ * The {@code PathIterator} interface provides the mechanism
  * for objects that implement the {@link java.awt.Shape Shape}
  * interface to return the geometry of their boundary by allowing
  * a caller to retrieve the path of that boundary a segment at a
  * time.  This interface allows these objects to retrieve the path of
  * their boundary a segment at a time by using 1st through 3rd order

@@ -96,11 +96,11 @@
     /**
      * The segment type constant for the pair of points that specify
      * a quadratic parametric curve to be drawn from the most recently
      * specified point.
      * The curve is interpolated by solving the parametric control
-     * equation in the range <code>(t=[0..1])</code> using
+     * equation in the range {@code (t=[0..1])} using
      * the most recently specified (current) point (CP),
      * the first control point (P1),
      * and the final interpolated control point (P2).
      * The parametric control equation for this curve is:
      * <pre>

@@ -118,11 +118,11 @@
     /**
      * The segment type constant for the set of 3 points that specify
      * a cubic parametric curve to be drawn from the most recently
      * specified point.
      * The curve is interpolated by solving the parametric control
-     * equation in the range <code>(t=[0..1])</code> using
+     * equation in the range {@code (t=[0..1])} using
      * the most recently specified (current) point (CP),
      * the first control point (P1),
      * the second control point (P2),
      * and the final interpolated control point (P3).
      * The parametric control equation for this curve is:

@@ -155,12 +155,12 @@
      */
     public int getWindingRule();
 
     /**
      * Tests if the iteration is complete.
-     * @return <code>true</code> if all the segments have
-     * been read; <code>false</code> otherwise.
+     * @return {@code true} if all the segments have
+     * been read; {@code false} otherwise.
      */
     public boolean isDone();
 
     /**
      * Moves the iterator to the next segment of the path forwards
< prev index next >