Package com.openhtmltopdf.extend
Interface SVGDrawer
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
BatikSVGDrawer
public interface SVGDrawer extends java.io.Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SVGDrawer.SVGImage
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addFontFile(java.io.File fontFile, java.lang.String family, java.lang.Integer weight, BaseRendererBuilder.FontStyle style)
SVGDrawer.SVGImage
buildSVGImage(org.w3c.dom.Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)
void
importFontFaceRules(java.util.List<FontFaceRule> fontFaces, SharedContext shared)
default void
withUserAgent(UserAgentCallback userAgentCallback)
-
-
-
Method Detail
-
importFontFaceRules
void importFontFaceRules(java.util.List<FontFaceRule> fontFaces, SharedContext shared)
-
buildSVGImage
SVGDrawer.SVGImage buildSVGImage(org.w3c.dom.Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)
-
withUserAgent
default void withUserAgent(UserAgentCallback userAgentCallback)
-
addFontFile
void addFontFile(java.io.File fontFile, java.lang.String family, java.lang.Integer weight, BaseRendererBuilder.FontStyle style) throws java.io.IOException, java.awt.FontFormatException
- Throws:
java.io.IOException
java.awt.FontFormatException
-
-