Package com.openhtmltopdf.java2d
Class Java2DObjectDrawerReplacedElement
java.lang.Object
com.openhtmltopdf.swing.EmptyReplacedElement
com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
com.openhtmltopdf.java2d.Java2DObjectDrawerReplacedElement
- All Implemented Interfaces:
com.openhtmltopdf.extend.ReplacedElement
public class Java2DObjectDrawerReplacedElement extends Java2DRendererBuilder.Graphics2DPaintingReplacedElement implements com.openhtmltopdf.extend.ReplacedElement
-
Field Summary
Fields inherited from class com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
DOTS_PER_INCH
-
Constructor Summary
Constructors Constructor Description Java2DObjectDrawerReplacedElement(Element e, com.openhtmltopdf.extend.FSObjectDrawer drawer, int width, int height, int dotsPerPixel)
-
Method Summary
Modifier and Type Method Description void
paint(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y, double width, double height)
Methods inherited from class com.openhtmltopdf.swing.EmptyReplacedElement
detach, getBaseline, getIntrinsicHeight, getIntrinsicWidth, getLocation, hasBaseline, isRequiresInteractivePaint, setLocation
-
Constructor Details
-
Java2DObjectDrawerReplacedElement
public Java2DObjectDrawerReplacedElement(Element e, com.openhtmltopdf.extend.FSObjectDrawer drawer, int width, int height, int dotsPerPixel)
-
-
Method Details
-
paint
public void paint(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y, double width, double height)- Specified by:
paint
in classJava2DRendererBuilder.Graphics2DPaintingReplacedElement
-