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
FieldsModifier and TypeFieldDescriptionprivate final intprivate final FSObjectDrawerprivate final ElementFields inherited from class com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
DOTS_PER_INCH -
Constructor Summary
ConstructorsConstructorDescriptionJava2DObjectDrawerReplacedElement(Element e, FSObjectDrawer drawer, int width, int height, int dotsPerPixel) -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(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, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.openhtmltopdf.extend.ReplacedElement
detach, getBaseline, getIntrinsicHeight, getIntrinsicWidth, getLocation, hasBaseline, isRequiresInteractivePaint, setLocation
-
Field Details
-
e
-
dotsPerPixel
private final int dotsPerPixel -
drawer
-
-
Constructor Details
-
Java2DObjectDrawerReplacedElement
public Java2DObjectDrawerReplacedElement(Element e, FSObjectDrawer drawer, int width, int height, int dotsPerPixel)
-
-
Method Details
-
paint
public void paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height) - Specified by:
paintin classJava2DRendererBuilder.Graphics2DPaintingReplacedElement
-