Class SvgNodeRendererInheritanceResolver
java.lang.Object
com.itextpdf.svg.css.impl.SvgNodeRendererInheritanceResolver
Style and attribute inheritance resolver for
ISvgNodeRenderer objects.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyInheritanceToSubTree(ISvgNodeRenderer root, ISvgNodeRenderer subTree, SvgCssContext cssContext) Apply style and attribute inheritance to the tree formed by the root and the subTree.
-
Method Details
-
applyInheritanceToSubTree
public static void applyInheritanceToSubTree(ISvgNodeRenderer root, ISvgNodeRenderer subTree, SvgCssContext cssContext) Apply style and attribute inheritance to the tree formed by the root and the subTree.- Parameters:
root- the renderer to consider as the root of the subtreesubTree- the tree ofISvgNodeRenderercssContext- the current SVG CSS context
-