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
All Methods Instance Methods Abstract Methods Default Methods 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 Detail
-
importFontFaceRules
void importFontFaceRules(List<FontFaceRule> fontFaces, SharedContext shared)
-
buildSVGImage
SVGDrawer.SVGImage buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)
-
withUserAgent
default void withUserAgent(UserAgentCallback userAgentCallback)
-
addFontFile
void addFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) throws IOException, FontFormatException
- Throws:
IOExceptionFontFormatException
-
-