Package com.openhtmltopdf.java2d.api
Class Java2DRendererBuilder.Graphics2DPaintingReplacedElement
java.lang.Object
com.openhtmltopdf.swing.EmptyReplacedElement
com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
- All Implemented Interfaces:
com.openhtmltopdf.extend.ReplacedElement
- Direct Known Subclasses:
Java2DObjectDrawerReplacedElement,Java2DSVGReplacedElement
- Enclosing class:
- Java2DRendererBuilder
public abstract static class Java2DRendererBuilder.Graphics2DPaintingReplacedElement
extends com.openhtmltopdf.swing.EmptyReplacedElement
This class is internal to this library, please do not use or override it!
-
Field Summary
Fields Modifier and Type Field Description static doubleDOTS_PER_INCH -
Constructor Summary
Constructors Modifier Constructor Description protectedGraphics2DPaintingReplacedElement(int width, int height) -
Method Summary
Modifier and Type Method Description abstract voidpaint(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
-
Field Details
-
DOTS_PER_INCH
public static double DOTS_PER_INCH
-
-
Constructor Details
-
Graphics2DPaintingReplacedElement
protected Graphics2DPaintingReplacedElement(int width, int height)
-
-
Method Details
-
paint
public abstract void paint(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y, double width, double height)
-