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:
ReplacedElement
public class Java2DObjectDrawerReplacedElement extends Java2DRendererBuilder.Graphics2DPaintingReplacedElement implements ReplacedElement
-
-
Field Summary
Fields Modifier and Type Field Description private int
dotsPerPixel
private FSObjectDrawer
drawer
private org.w3c.dom.Element
e
-
Fields inherited from class com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
DOTS_PER_INCH
-
-
Constructor Summary
Constructors Constructor Description Java2DObjectDrawerReplacedElement(org.w3c.dom.Element e, FSObjectDrawer drawer, int width, int height, int dotsPerPixel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(OutputDevice outputDevice, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.openhtmltopdf.extend.ReplacedElement
detach, getBaseline, getIntrinsicHeight, getIntrinsicWidth, getLocation, hasBaseline, isRequiresInteractivePaint, setLocation
-
-
-
-
Field Detail
-
e
private final org.w3c.dom.Element e
-
dotsPerPixel
private final int dotsPerPixel
-
drawer
private final FSObjectDrawer drawer
-
-
Constructor Detail
-
Java2DObjectDrawerReplacedElement
public Java2DObjectDrawerReplacedElement(org.w3c.dom.Element e, FSObjectDrawer drawer, int width, int height, int dotsPerPixel)
-
-
Method Detail
-
paint
public void paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height)
- Specified by:
paint
in classJava2DRendererBuilder.Graphics2DPaintingReplacedElement
-
-