Author: tilman Date: Wed Aug 6 10:48:04 2025 New Revision: 1927638 Log: PDFBOX-5660: improve javadoc
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java ============================================================================== --- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java Wed Aug 6 10:22:36 2025 (r1927637) +++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java Wed Aug 6 10:48:04 2025 (r1927638) @@ -30,6 +30,7 @@ import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; + import org.apache.pdfbox.cos.COSArray; import org.apache.pdfbox.cos.COSBase; import org.apache.pdfbox.cos.COSDictionary; @@ -557,8 +558,9 @@ public class Overlay implements Closeabl /** * Calculate the transform to be used when positioning the overlay. The default implementation - * centers on the destination. Override this method to do your own, e.g. move to a corner, or - * rotate. + * centers on the destination and assumes (0,0) to be the lower left (This will be changed in + * 4.0, see PDFBOX-6048 why). Override this method to do your own, e.g. move to a corner, + * rotate, or zoom. * * @param page The page that will get the overlay. * @param overlayMediaBox The overlay media box.