You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2018/03/19 19:19:40 UTC

svn commit: r1827232 - in /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common: PDRectangle.java function/PDFunction.java

Author: lehmi
Date: Mon Mar 19 19:19:40 2018
New Revision: 1827232

URL: http://svn.apache.org/viewvc?rev=1827232&view=rev
Log:
PDFBOX-4071: fix javadoc

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRectangle.java
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRectangle.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRectangle.java?rev=1827232&r1=1827231&r2=1827232&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRectangle.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/PDRectangle.java Mon Mar 19 19:19:40 2018
@@ -283,8 +283,12 @@ public class PDRectangle implements COSO
     }
 
     /**
-     * Returns a path which represents this rectangle having been transformed by the given matrix.
-     * Note that the resulting path need not be rectangular.
+     * Returns a path which represents this rectangle having been transformed by the given matrix. Note that the
+     * resulting path need not be rectangular.
+     * 
+     * @param matrix the matrix to be used for the transformation.
+     * 
+     * @return the resulting path.
      */
     public GeneralPath transform(Matrix matrix)
     {
@@ -319,8 +323,10 @@ public class PDRectangle implements COSO
     }
 
     /**
-     * Returns a general path equivalent to this rectangle. This method avoids the problems
-     * caused by Rectangle2D not working well with -ve rectangles.
+     * Returns a general path equivalent to this rectangle. This method avoids the problems caused by Rectangle2D not
+     * working well with -ve rectangles.
+     * 
+     * @return the general path.
      */
     public GeneralPath toGeneralPath()
     {

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java?rev=1827232&r1=1827231&r2=1827232&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/PDFunction.java Mon Mar 19 19:19:40 2018
@@ -235,6 +235,10 @@ public abstract class PDFunction impleme
     }
 
     /**
+     * @param input The array of input values for the function.
+     * 
+     * @return The of outputs the function returns based on those inputs.
+     * 
      * @deprecated Replaced by {@link #eval(float[] input)}
      */
     @Deprecated