Package com.itextpdf.svg.processors
Interface ISvgProcessor
-
- All Known Implementing Classes:
DefaultSvgProcessor
public interface ISvgProcessor
Interface for SVG processors. Processors take the rootINode
that corresponds to a Svg element and return aISvgNodeRenderer
that serves as the root for the same SVG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-
-
Method Detail
-
process
ISvgProcessorResult process(INode root, ISvgConverterProperties converterProps) throws SvgProcessingException
Process an SVG, returning the root of a renderer-tree and a list of named objects wrapped in a processor result object- Parameters:
root
- Root of the INode representation of the SVGconverterProps
- configuration properties- Returns:
- root of the renderer-tree representing the SVG wrapped in {link
ISvgProcessorResult
} - Throws:
SvgProcessingException
- throws an exception if the root node is null or if the child node being processed is null
-
-