Top Description Methods
com.openhtmltopdf.extend

public Interface FSObjectDrawer

Imports
com.openhtmltopdf.render.RenderingContext, org.w3c.dom.Element, java.awt.*, java.util.Map

Handle the drawing of <object> tags

Method Summary

Modifier and TypeMethod and Description
public Map<Shape, String>

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.
drawObject
(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)

Perform your drawing.

Method Detail

drawObjectback to summary
public Map<Shape, String> drawObject(Element e, double x, double y, double width, double height, OutputDevice outputDevice, RenderingContext ctx, int dotsPerPixel)

Perform your drawing.

Returns:Map<Shape, String>

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.