Interface ISvgNodeRendererFactory
-
- All Known Implementing Classes:
DefaultSvgNodeRendererFactory
public interface ISvgNodeRendererFactory
Interface for the factory used byDefaultSvgProcessor
. Pass along usingISvgConverterProperties
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISvgNodeRenderer
createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.boolean
isTagIgnored(IElementNode tag)
Checks whether the provided tag is an ignored tag of this factory or not.
-
-
-
Method Detail
-
createSvgNodeRendererForTag
ISvgNodeRenderer createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
Create a configured renderer based on the passed Svg tag and set its parent.- Parameters:
tag
- Representation of the Svg tag, with all style attributes setparent
- renderer of the parent tag- Returns:
- Configured ISvgNodeRenderer
-
isTagIgnored
boolean isTagIgnored(IElementNode tag)
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.- Parameters:
tag
- the IElementNode- Returns:
- true if ignored
-
-