com.qoppa.pdfWriter
Class PDFPage

java.lang.Object
  extended bycom.qoppa.pdfWriter.PDFPage

public class PDFPage
extends Object

One page in a PDF document.


Method Summary
 Graphics2D createGraphics()
          Returns a Graphics2D object used to draw to this page.
 PDFDocument getDocument()
          Returns the PDFDocument object that this page belongs to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createGraphics

public Graphics2D createGraphics()
Returns a Graphics2D object used to draw to this page. The object returned is actually a PDFGraphics object, which extends Graphics2D.

Returns:
Graphics2D Object used to draw to this page.

getDocument

public PDFDocument getDocument()
Returns the PDFDocument object that this page belongs to.

Returns:
PDFDocument PDFDocument object that owns this page.