pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1827232 - in /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common: PDRectangle.java function/PDFunction.java
Date Mon, 19 Mar 2018 19:19:40 GMT
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



Mime
View raw message