Top Inners Methods
com.openhtmltopdf.extend

public Interface SVGDrawer

extends Closeable
Imports
java.awt.FontFormatException, java.io.Closeable, .File, .IOException, java.util.List, org.w3c.dom.Element, com.openhtmltopdf.css.sheet.FontFaceRule, com.openhtmltopdf.css.style.CssContext, com.openhtmltopdf.layout.SharedContext, com.openhtmltopdf.outputdevice.helper.BaseRendererBuilder.FontStyle, com.openhtmltopdf.render.Box, .RenderingContext

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public void
addFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style)

public SVGDrawer.SVGImage
buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)

public void
public default void
withUserAgent(UserAgentCallback userAgentCallback)

Inherited from java.io.Closeable:
close

Method Detail

addFontFileback to summary
public void addFontFile(File fontFile, String family, Integer weight, BaseRendererBuilder.FontStyle style) throws IOException, FontFormatException
buildSVGImageback to summary
public SVGDrawer.SVGImage buildSVGImage(Element svgElement, Box box, CssContext cssContext, double cssWidth, double cssHeight, double dotsPerPixel)
importFontFaceRulesback to summary
public void importFontFaceRules(List<FontFaceRule> fontFaces, SharedContext shared)
withUserAgentback to summary
public default void withUserAgent(UserAgentCallback userAgentCallback)
com.openhtmltopdf.extend back to summary

public Interface SVGDrawer.SVGImage


Method Summary

Modifier and TypeMethod and Description
public void
drawSVG(OutputDevice outputDevice, RenderingContext ctx, double x, double y)

public int
public int

Method Detail

drawSVGback to summary
public void drawSVG(OutputDevice outputDevice, RenderingContext ctx, double x, double y)
getIntrinsicHeightback to summary
public int getIntrinsicHeight()
getIntrinsicWidthback to summary
public int getIntrinsicWidth()