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:01 UTC

svn commit: r1894155 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

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

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

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

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1894155&r1=1894154&r2=1894155&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Tue Oct 12 08:34:01 2021
@@ -1853,17 +1853,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 =
@@ -1874,7 +1874,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!)