Interface ISvgNodeRendererFactory
Interface for the factory used by DefaultSvgProcessor.
public interface ISvgNodeRendererFactory
Remarks
Interface for the factory used by DefaultSvgProcessor. Pass along using ISvgConverterProperties.
Methods
CreateSvgNodeRendererForTag(IElementNode, ISvgNodeRenderer)
Create a configured renderer based on the passed Svg tag and set its parent.
ISvgNodeRenderer CreateSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
Parameters
tag
IElementNodeRepresentation of the Svg tag, with all style attributes set
parent
ISvgNodeRendererrenderer of the parent tag
Returns
- ISvgNodeRenderer
Configured ISvgNodeRenderer
IsTagIgnored(IElementNode)
Checks whether the provided tag is an ignored tag of this factory or not.
bool IsTagIgnored(IElementNode tag)
Parameters
tag
IElementNodethe IElementNode
Returns
- bool
true if ignored
Remarks
Checks whether the provided tag is an ignored tag of this factory or not. If ignored, the factory won't process this IElementNode into an ISvgNodeRenderer.