Package com.openhtmltopdf.extend
Interface SVGDrawer
- All Superinterfaces:
AutoCloseable,Closeable
public interface SVGDrawer extends Closeable
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSVGDrawer.SVGImage -
Method Summary
Modifier and Type Method Description voidaddFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style)SVGDrawer.SVGImagebuildSVGImage(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