Interface ISvgNodeRendererFactory

    • 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 set
        parent - 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