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:12 UTC
svn commit: r1891927 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
Author: tilman
Date: Sat Jul 31 17:43:12 2021
New Revision: 1891927
URL: http://svn.apache.org/viewvc?rev=1891927&view=rev
Log:
PDFBOX-4892: improve javadoc
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java?rev=1891927&r1=1891926&r2=1891927&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotation.java Sat Jul 31 17:43:12 2021
@@ -740,11 +740,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.
*/