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:13 UTC
svn commit: r1916768 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java
Author: tilman
Date: Wed Apr 3 11:31:12 2024
New Revision: 1916768
URL: http://svn.apache.org/viewvc?rev=1916768&view=rev
Log:
PDFBOX-5660: improve javadoc, as suggested by Michael Klink
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java?rev=1916768&r1=1916767&r2=1916768&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImage.java Wed Apr 3 11:31:12 2024
@@ -185,7 +185,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);
@@ -198,7 +200,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);