com.crionics.jpdf.creator
Class JPdfGraphics2D

java.lang.Object
  extended by java.awt.Graphics
      extended by java.awt.Graphics2D
          extended by com.crionics.jpdf.creator.JPdfGraphics2D

public abstract class JPdfGraphics2D
extends java.awt.Graphics2D

Java2D Graphics2D extension which supports extended PDF Features


Constructor Summary
JPdfGraphics2D()
           
 
Method Summary
abstract  void drawLinkArea(java.awt.geom.Rectangle2D rect, AbstractAction action)
           
abstract  CreatorModule getCreatorModule()
          Return the the Creator Module.
abstract  void setLayer(java.lang.String layerName)
          PDF 1.5+ has the ability to display contents on layers.
 
Methods inherited from class java.awt.Graphics2D
addRenderingHints, clip, draw, draw3DRect, drawGlyphVector, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, drawString, drawString, drawString, fill, fill3DRect, getBackground, getComposite, getDeviceConfiguration, getFontRenderContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, rotate, rotate, scale, setBackground, setComposite, setPaint, setRenderingHint, setRenderingHints, setStroke, setTransform, shear, transform, translate, translate
 
Methods inherited from class java.awt.Graphics
clearRect, clipRect, copyArea, create, create, dispose, drawArc, drawBytes, drawChars, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolygon, drawPolyline, drawRect, drawRoundRect, fillArc, fillOval, fillPolygon, fillPolygon, fillRect, fillRoundRect, finalize, getClip, getClipBounds, getClipBounds, getClipRect, getColor, getFont, getFontMetrics, getFontMetrics, hitClip, setClip, setClip, setColor, setFont, setPaintMode, setXORMode, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JPdfGraphics2D

public JPdfGraphics2D()
Method Detail

drawLinkArea

public abstract void drawLinkArea(java.awt.geom.Rectangle2D rect,
                                  AbstractAction action)
                           throws PdfException,
                                  java.io.IOException
Throws:
PdfException
java.io.IOException

getCreatorModule

public abstract CreatorModule getCreatorModule()
Return the the Creator Module. Use this module to create/modify PDF documents. Methods in the modules may be restricted depending on your license

Returns:
The Creator Module.

setLayer

public abstract void setLayer(java.lang.String layerName)
                       throws PdfException,
                              java.io.IOException
PDF 1.5+ has the ability to display contents on layers. Layers are like a stack of drawing set on top of each other. At display time, users can chose to enable/disable a selected layer in the document.

Parameters:
layerName - name of the layer or null for the background
Throws:
PdfException
java.io.IOException


Copyright © 1999-2007 Crionics. All Rights Reserved.