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 2024/04/03 11:31:05 UTC

svn commit: r1916766 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java

Author: tilman
Date: Wed Apr  3 11:31:05 2024
New Revision: 1916766

URL: http://svn.apache.org/viewvc?rev=1916766&view=rev
Log:
PDFBOX-5660: improve javadoc, as suggested by Michael Klink

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java?rev=1916766&r1=1916765&r2=1916766&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java Wed Apr  3 11:31:05 2024
@@ -176,7 +176,9 @@ public interface PDImage extends COSObje
     int getHeight();
 
     /**
-     * Sets the height of the image.
+     * Sets the height of the image. This is for internal PDFBox usage and not to set the size of
+     * the image on the page.
+     *
      * @param height The height of the image.
      */
     void setHeight(int height);
@@ -187,7 +189,9 @@ public interface PDImage extends COSObje
     int getWidth();
 
     /**
-     * Sets the width of the image.
+     * Sets the width of the image. This is for internal PDFBox usage and not to set the size of
+     * the image on the page.
+     *
      * @param width The width of the image.
      */
     void setWidth(int width);