Package com.openhtmltopdf.svgsupport
Class BatikSVGDrawer
- java.lang.Object
-
- com.openhtmltopdf.svgsupport.BatikSVGDrawer
-
- All Implemented Interfaces:
com.openhtmltopdf.extend.SVGDrawer,Closeable,AutoCloseable
public class BatikSVGDrawer extends Object implements com.openhtmltopdf.extend.SVGDrawer
-
-
Field Summary
Fields Modifier and Type Field Description PDFTranscoder.OpenHtmlFontResolverfontResolver
-
Constructor Summary
Constructors Constructor Description BatikSVGDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.openhtmltopdf.extend.SVGDrawer.SVGImagebuildSVGImage(Element svgElement, com.openhtmltopdf.render.Box box, com.openhtmltopdf.css.style.CssContext c, double cssWidth, double cssHeight, double dotsPerPixel)voidclose()voidimportFontFaceRules(List<com.openhtmltopdf.css.sheet.FontFaceRule> fontFaces, com.openhtmltopdf.layout.SharedContext shared)
-
-
-
Field Detail
-
fontResolver
public PDFTranscoder.OpenHtmlFontResolver fontResolver
-
-
Method Detail
-
importFontFaceRules
public void importFontFaceRules(List<com.openhtmltopdf.css.sheet.FontFaceRule> fontFaces, com.openhtmltopdf.layout.SharedContext shared)
- Specified by:
importFontFaceRulesin interfacecom.openhtmltopdf.extend.SVGDrawer
-
buildSVGImage
public com.openhtmltopdf.extend.SVGDrawer.SVGImage buildSVGImage(Element svgElement, com.openhtmltopdf.render.Box box, com.openhtmltopdf.css.style.CssContext c, double cssWidth, double cssHeight, double dotsPerPixel)
- Specified by:
buildSVGImagein interfacecom.openhtmltopdf.extend.SVGDrawer
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-