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/10/12 08:34:08 UTC

svn commit: r1894156 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

Author: tilman
Date: Tue Oct 12 08:34:08 2021
New Revision: 1894156

URL: http://svn.apache.org/viewvc?rev=1894156&view=rev
Log:
PDFBOX-5293: remove "public" from methods of private class; remove ";" at end of line

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1894156&r1=1894155&r2=1894156&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Tue Oct 12 08:34:08 2021
@@ -1777,17 +1777,17 @@ public class PageDrawer extends PDFGraph
             return false;
         }
 
-        public BufferedImage getImage()
+        BufferedImage getImage()
         {
             return image;
         }
 
-        public PDRectangle getBBox()
+        PDRectangle getBBox()
         {
             return bbox;
         }
 
-        public Rectangle2D getBounds()
+        Rectangle2D getBounds()
         {
             // apply the underlying Graphics2D device's DPI transform and y-axis flip
             Rectangle2D r = 
@@ -1798,7 +1798,7 @@ public class PageDrawer extends PDFGraph
                             height);
             // this adjusts the rectangle to the rotated image to put the soft mask at the correct position
             //TODO
-            // 1. change transparencyGroup.getBounds() to getOrigin(), because size isn't used in SoftMask;
+            // 1. change transparencyGroup.getBounds() to getOrigin(), because size isn't used in SoftMask,
             //    also remove use of AffineTransform here
             // 2. Is it possible to create the softmask and transparency group in the correct rotation?
             //    (needs rendering identity testing before committing!)