public class DefaultSvgProcessor extends Object implements ISvgProcessor
ISvgProcessor
. This implementation traverses the INode
tree depth-first, using a stack to recreate a tree of ISvgNodeRenderer
with the same structure.
Constructor and Description |
---|
DefaultSvgProcessor()
Instantiates a DefaultSvgProcessor object.
|
Modifier and Type | Method and Description |
---|---|
ISvgProcessorResult |
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
|
public DefaultSvgProcessor()
public ISvgProcessorResult process(INode root, ISvgConverterProperties converterProps) throws SvgProcessingException
ISvgProcessor
process
in interface ISvgProcessor
root
- Root of the INode representation of the SVG
converterProps
- configuration properties
ISvgProcessorResult
}
SvgProcessingException
- throws an exception if the root node is null or if the child node being processed is null
Copyright © 1998–2022 iText Group NV. All rights reserved.