Package com.openhtmltopdf.extend
Interface SVGDrawer
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BatikSVGDrawer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFontFile
(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) buildSVGImage
(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel) void
importFontFaceRules
(List<FontFaceRule> fontFaces, SharedContext shared) default void
withUserAgent
(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:
IOException
FontFormatException