Package com.openhtmltopdf.objects.pdf
Class ForegroundPdfDrawer
- java.lang.Object
-
- com.openhtmltopdf.objects.pdf.PdfDrawerBase
-
- com.openhtmltopdf.objects.pdf.ForegroundPdfDrawer
-
- All Implemented Interfaces:
FSObjectDrawer
public class ForegroundPdfDrawer extends PdfDrawerBase
-
-
Constructor Summary
Constructors Constructor Description ForegroundPdfDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.awt.Shape,java.lang.String>
drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
Perform your drawing.-
Methods inherited from class com.openhtmltopdf.objects.pdf.PdfDrawerBase
getFormCacheMap, getPageNumber, importPageAsXForm
-
-
-
-
Method Detail
-
drawObject
public java.util.Map<java.awt.Shape,java.lang.String> drawObject(org.w3c.dom.Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)
Description copied from interface:FSObjectDrawer
Perform your drawing.- Returns:
- null or a map of Shape => URL-String to annotate the drawing with links. The shapes must be relative to (x,y), i.e. (0,0) is at the corner (x,y). Also they should not extend (width,height). The links are only exported into the PDF and also only respected by Acrobat Reader.
-
-