Package com.openhtmltopdf.java2d
Class Java2DSVGReplacedElement
- java.lang.Object
-
- com.openhtmltopdf.swing.EmptyReplacedElement
-
- com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
-
- com.openhtmltopdf.java2d.Java2DSVGReplacedElement
-
- All Implemented Interfaces:
ReplacedElement
public class Java2DSVGReplacedElement extends Java2DRendererBuilder.Graphics2DPaintingReplacedElement
-
-
Field Summary
-
Fields inherited from class com.openhtmltopdf.java2d.api.Java2DRendererBuilder.Graphics2DPaintingReplacedElement
DOTS_PER_INCH
-
-
Constructor Summary
Constructors Constructor Description Java2DSVGReplacedElement(Element e, SVGDrawer svgImpl, int width, int height, Box box, CssContext c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIntrinsicHeight()intgetIntrinsicWidth()voidpaint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height)-
Methods inherited from class com.openhtmltopdf.swing.EmptyReplacedElement
detach, getBaseline, getLocation, hasBaseline, isRequiresInteractivePaint, setLocation
-
-
-
-
Constructor Detail
-
Java2DSVGReplacedElement
public Java2DSVGReplacedElement(Element e, SVGDrawer svgImpl, int width, int height, Box box, CssContext c)
-
-
Method Detail
-
paint
public void paint(OutputDevice outputDevice, RenderingContext ctx, double x, double y, double width, double height)
- Specified by:
paintin classJava2DRendererBuilder.Graphics2DPaintingReplacedElement
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidthin interfaceReplacedElement- Overrides:
getIntrinsicWidthin classEmptyReplacedElement
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeightin interfaceReplacedElement- Overrides:
getIntrinsicHeightin classEmptyReplacedElement
-
-