Interface ISvgNodeRendererFactory
- All Known Implementing Classes:
-
DefaultSvgNodeRendererFactory
public interface ISvgNodeRendererFactory
Interface for the factory used by
DefaultSvgProcessor
. Pass along using ISvgConverterProperties
.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSvgNodeRendererForTag
(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 Details
-
createSvgNodeRendererForTag
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 set -
parent
- renderer of the parent tag - Returns:
- Configured ISvgNodeRenderer
-
isTagIgnored
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
-