Uses of Interface
com.itextpdf.svg.processors.ISvgConverterProperties
Package
Description
-
Uses of ISvgConverterProperties in com.itextpdf.svg.converter
Modifier and TypeMethodDescriptionstatic Image
SvgConverter.convertToImage
(InputStream stream, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to animage
that can then be used on the passedPdfDocument
.static PdfFormXObject
SvgConverter.convertToXObject
(InputStream stream, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static PdfFormXObject
SvgConverter.convertToXObject
(String content, PdfDocument document, ISvgConverterProperties props) Converts a String containing valid SVG content to anXObject
that can then be used on the passedPdfDocument
.static void
SvgConverter.createPdf
(File svgFile, File pdfFile, ISvgConverterProperties props) static void
SvgConverter.createPdf
(File svgFile, File pdfFile, ISvgConverterProperties props, WriterProperties writerProps) Converts SVG stored in aFile
to a PDFFile
, using specificISvgConverterProperties
andWriterProperties
.static void
SvgConverter.createPdf
(InputStream svgStream, OutputStream pdfDest, ISvgConverterProperties props) Create a single page pdf containing the SVG on its page using the default processing and drawing logicstatic void
SvgConverter.createPdf
(InputStream svgStream, OutputStream pdfDest, ISvgConverterProperties props, WriterProperties writerProps) Create a single page pdf containing the SVG on its page using the default processing and drawing logicstatic void
SvgConverter.drawOnCanvas
(InputStream stream, PdfCanvas canvas, float x, float y, ISvgConverterProperties props) Draws a String containing valid SVG to a pre-made canvas object, at a specified position on the canvas.static void
SvgConverter.drawOnCanvas
(InputStream stream, PdfCanvas canvas, ISvgConverterProperties props) Draws a Stream containing valid SVG to a pre-made canvas object.static void
SvgConverter.drawOnCanvas
(String content, PdfCanvas canvas, float x, float y, ISvgConverterProperties props) draws a String containing valid SVG to a pre-made canvas object, at a specified location.static void
SvgConverter.drawOnCanvas
(String content, PdfCanvas canvas, ISvgConverterProperties props) Draws a String containing valid SVG to a pre-made canvas object.static void
SvgConverter.drawOnDocument
(InputStream stream, PdfDocument document, int pageNo, float x, float y, ISvgConverterProperties props) Draws a Stream containing valid SVG to a document, on a given page number on the provided x and y coordinate.static void
SvgConverter.drawOnDocument
(InputStream stream, PdfDocument document, int pageNo, ISvgConverterProperties props) Draws a Stream containing valid SVG to a document, on a given page number on the provided x and y coordinate.static void
SvgConverter.drawOnDocument
(String content, PdfDocument document, int pageNo, float x, float y, ISvgConverterProperties props) Draws a String containing valid SVG to a document, on a given page number on the provided x and y coordinate.static void
SvgConverter.drawOnDocument
(String content, PdfDocument document, int pageNo, ISvgConverterProperties props) Draws a String containing valid SVG to a document, on a given page number on the provided x and y coordinate.static void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page, float x, float y, ISvgConverterProperties props) Draws a Stream containing valid SVG to a given page at a given location.static void
SvgConverter.drawOnPage
(InputStream stream, PdfPage page, ISvgConverterProperties props) Draws a Stream containing valid SVG to a given page at a given location.static void
SvgConverter.drawOnPage
(String content, PdfPage page, float x, float y, ISvgConverterProperties props) Draws a String containing valid SVG to a given page on the provided x and y coordinate.static void
SvgConverter.drawOnPage
(String content, PdfPage page, ISvgConverterProperties props) Draws a String containing valid SVG to a given page on the provided x and y coordinate.static INode
SvgConverter.parse
(InputStream stream, ISvgConverterProperties props) Parse a Stream containing valid SVG into an XML DOM node, using the default JSoup XML parser.static ISvgProcessorResult
SvgConverter.parseAndProcess
(InputStream svgStream, ISvgConverterProperties props) Parse and process an Inputstream containing an SVG, using the default Svg processor (DefaultSvgProcessor
)static ISvgProcessorResult
SvgConverter.process
(INode root, ISvgConverterProperties props) Use the default implementation ofISvgProcessor
to convert an XML DOM tree to a node renderer tree. -
Uses of ISvgConverterProperties in com.itextpdf.svg.processors
Modifier and TypeMethodDescriptionISvgProcessor.process
(INode root, ISvgConverterProperties converterProps) Process an SVG, returning the root of a renderer-tree and a list of named objects wrapped in a processor result object -
Uses of ISvgConverterProperties in com.itextpdf.svg.processors.impl
Modifier and TypeClassDescriptionclass
Default and fallback implementation ofISvgConverterProperties
forDefaultSvgProcessor
.Modifier and TypeMethodDescriptionDefaultSvgProcessor.process
(INode root, ISvgConverterProperties converterProps) ModifierConstructorDescriptionSvgProcessorContext
(ISvgConverterProperties converterProperties) Instantiates a newSvgProcessorContext
instance.