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 2017/11/19 10:26:11 UTC
svn commit: r1815721 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Author: tilman
Date: Sun Nov 19 10:26:11 2017
New Revision: 1815721
URL: http://svn.apache.org/viewvc?rev=1815721&view=rev
Log:
PDFBOX-2852: improve javadoc
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=1815721&r1=1815720&r2=1815721&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 Sun Nov 19 10:26:11 2017
@@ -87,11 +87,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