iText 7 7.2.0 API
iText.Svg.Processors.ISvgProcessor Interface Reference

Interface for SVG processors. More...

Inheritance diagram for iText.Svg.Processors.ISvgProcessor:
iText.Svg.Processors.Impl.DefaultSvgProcessor

Public Member Functions

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 More...
 

Detailed Description

Interface for SVG processors.

Interface for SVG processors. Processors take the root iText.StyledXmlParser.Node.INode that corresponds to a Svg element and return a iText.Svg.Renderers.ISvgNodeRenderer that serves as the root for the same SVG

Member Function Documentation

◆ Process()

ISvgProcessorResult iText.Svg.Processors.ISvgProcessor.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

Parameters
root Root of the INode representation of the SVG
converterProps configuration properties
Returns
root of the renderer-tree representing the SVG wrapped in {link ISvgProcessorResult }

Implemented in iText.Svg.Processors.Impl.DefaultSvgProcessor.