Package com.openhtmltopdf.extend
Interface SVGDrawer
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
BatikSVGDrawer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel) voidimportFontFaceRules(List<FontFaceRule> fontFaces, SharedContext shared) default voidwithUserAgent(UserAgentCallback userAgentCallback)
-
Method Details
-
buildSVGImage
SVGDrawer.SVGImage buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel) -
withUserAgent
-
addFontFile
void addFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) throws IOException, FontFormatException - Throws:
IOExceptionFontFormatException