< prev index next >

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

Print this page

        

@@ -58,11 +58,11 @@
     public GeneralPath() {
         super(WIND_NON_ZERO, INIT_SIZE);
     }
 
     /**
-     * Constructs a new <code>GeneralPath</code> object with the specified
+     * Constructs a new {@code GeneralPath} object with the specified
      * winding rule to control operations that require the interior of the
      * path to be defined.
      *
      * @param rule the winding rule
      * @see #WIND_EVEN_ODD

@@ -72,11 +72,11 @@
     public GeneralPath(int rule) {
         super(rule, INIT_SIZE);
     }
 
     /**
-     * Constructs a new <code>GeneralPath</code> object with the specified
+     * Constructs a new {@code GeneralPath} object with the specified
      * winding rule and the specified initial capacity to store path
      * coordinates.
      * This number is an initial guess as to how many path segments
      * will be added to the path, but the storage is expanded as
      * needed to store whatever path segments are added.

@@ -91,16 +91,16 @@
     public GeneralPath(int rule, int initialCapacity) {
         super(rule, initialCapacity);
     }
 
     /**
-     * Constructs a new <code>GeneralPath</code> object from an arbitrary
+     * Constructs a new {@code GeneralPath} object from an arbitrary
      * {@link Shape} object.
      * All of the initial geometry and the winding rule for this path are
-     * taken from the specified <code>Shape</code> object.
+     * taken from the specified {@code Shape} object.
      *
-     * @param s the specified <code>Shape</code> object
+     * @param s the specified {@code Shape} object
      * @since 1.2
      */
     public GeneralPath(Shape s) {
         super(s, null);
     }
< prev index next >