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 2022/07/17 07:38:34 UTC

svn commit: r1902797 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java

Author: tilman
Date: Sun Jul 17 07:38:34 2022
New Revision: 1902797

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

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java?rev=1902797&r1=1902796&r2=1902797&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/util/Matrix.java Sun Jul 17 07:38:34 2022
@@ -400,6 +400,7 @@ public final class Matrix implements Clo
         c[7] = a[6] * b[1] + a[7] * b[4] + a[8] * b[7];
         c[8] = a[6] * b[2] + a[7] * b[5] + a[8] * b[8];
     }
+
     /**
      * Transforms the given point by this matrix.
      *
@@ -423,6 +424,8 @@ public final class Matrix implements Clo
      *
      * @param x x-coordinate
      * @param y y-coordinate
+     *
+     * @return the transformed point.
      */
     public Point2D.Float transformPoint(float x, float y)
     {
@@ -436,9 +439,11 @@ public final class Matrix implements Clo
     }
 
     /**
-     * Transforms the given point by this matrix.
+     * Transforms the given vector by this matrix.
      *
      * @param vector 2D vector
+     *
+     * @return the transformed vector.
      */
     public Vector transform(Vector vector)
     {