public interface SVGDrawer extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SVGDrawer.SVGImage |
| Modifier and Type | Method and Description |
|---|---|
void |
addFontFile(File fontFile,
String family,
Integer weight,
BaseRendererBuilder.FontStyle style) |
SVGDrawer.SVGImage |
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) |
void importFontFaceRules(List<FontFaceRule> fontFaces, SharedContext shared)
SVGDrawer.SVGImage buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)
default void withUserAgent(UserAgentCallback userAgentCallback)
void addFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) throws IOException, FontFormatException
IOExceptionFontFormatExceptionCopyright © 2004–2025. All rights reserved.