pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1815720 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Date Sun, 19 Nov 2017 10:26:06 GMT
Author: tilman
Date: Sun Nov 19 10:26:06 2017
New Revision: 1815720

URL: http://svn.apache.org/viewvc?rev=1815720&view=rev
Log:
PDFBOX-2852: improve javadoc

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=1815720&r1=1815719&r2=1815720&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 Sun Nov
19 10:26:06 2017
@@ -82,11 +82,14 @@ import org.apache.pdfbox.util.Vector;
 /**
  * Paints a page in a PDF document to a Graphics context. May be subclassed to provide custom
  * rendering.
- * 
- * <p>If you want to do custom graphics processing rather than Graphics2D rendering,
then you should
- * subclass PDFGraphicsStreamEngine instead. Subclassing PageDrawer is only suitable for
cases
- * where the goal is to render onto a Graphics2D surface.
- * 
+ *
+ * <p>
+ * If you want to do custom graphics processing rather than Graphics2D rendering, then you
should
+ * subclass {@link PDFGraphicsStreamEngine} instead. Subclassing PageDrawer is only suitable
for
+ * cases where the goal is to render onto a {@link Graphics2D} surface. In that case you'll
also
+ * have to subclass {@link PDFRenderer} and modify
+ * {@link PDFRenderer#createPageDrawer(PageDrawerParameters)}.
+ *
  * @author Ben Litchfield
  */
 public class PageDrawer extends PDFGraphicsStreamEngine



Mime
View raw message