Interface ISvgNodeRendererFactory

All Known Implementing Classes:
DefaultSvgNodeRendererFactory

public interface ISvgNodeRendererFactory
Interface for the factory used by DefaultSvgProcessor. Pass along using ISvgConverterProperties.
  • Method Details

    • 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