You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/07/31 17:43:16 UTC

svn commit: r1891928 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java

Author: tilman
Date: Sat Jul 31 17:43:16 2021
New Revision: 1891928

URL: http://svn.apache.org/viewvc?rev=1891928&view=rev
Log:
PDFBOX-4892: improve javadoc

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java?rev=1891928&r1=1891927&r2=1891928&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java Sat Jul 31 17:43:16 2021
@@ -700,11 +700,12 @@ public abstract class PDAnnotation imple
     }
 
     /**
-     * This will retrieve the border array. If none is available then it will return the default,
-     * which is [0 0 1]. The array consists of at least three numbers defining the horizontal corner
-     * radius, vertical corner radius, and border width. The array may have a fourth element, an
-     * optional dash array defining a pattern of dashes and gaps that shall be used in drawing the
-     * border. If the array has less than three elements, it will be filled with 0.
+     * This will retrieve the border array. If none is available then it will create and return a
+     * default array, which is [0 0 1]. The array consists of at least three numbers defining the
+     * horizontal corner radius, vertical corner radius, and border width. The array may have a
+     * fourth element, an optional dash array defining a pattern of dashes and gaps that shall be
+     * used in drawing the border. If the array has less than three elements, the original array
+     * will be copied and missing elements with value 0 will be added.
      *
      * @return the border array, never null.
      */