public class DefaultSvgNodeRendererFactory extends Object implements ISvgNodeRendererFactory
ISvgNodeRendererFactory
that will be used by default by the entry points defined by this project.
Constructor and Description |
---|
DefaultSvgNodeRendererFactory()
Default constructor with default ISvgNodeRenderer creation logic.
|
Modifier and Type | Method and 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.
|
public DefaultSvgNodeRendererFactory()
ISvgNodeRenderer
creation logic.
public ISvgNodeRenderer createSvgNodeRendererForTag(IElementNode tag, ISvgNodeRenderer parent)
ISvgNodeRendererFactory
createSvgNodeRendererForTag
in interface ISvgNodeRendererFactory
tag
- Representation of the Svg tag, with all style attributes set
parent
- renderer of the parent tag
public boolean isTagIgnored(IElementNode tag)
ISvgNodeRendererFactory
isTagIgnored
in interface ISvgNodeRendererFactory
tag
- the IElementNode
Copyright © 1998–2022 iText Group NV. All rights reserved.