Package com.itextpdf.svg.css.impl
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 subtree -
subTree- the tree ofISvgNodeRenderer -
cssContext- the current SVG CSS context
-