Package com.itextpdf.svg.css.impl
Class SvgNodeRendererInheritanceResolver
- java.lang.Object
-
- com.itextpdf.svg.css.impl.SvgNodeRendererInheritanceResolver
-
public final class SvgNodeRendererInheritanceResolver extends java.lang.ObjectStyle and attribute inheritance resolver forISvgNodeRendererobjects.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSvgNodeRendererInheritanceResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidapplyInheritanceToSubTree(ISvgNodeRenderer root, ISvgNodeRenderer subTree, SvgCssContext cssContext)Apply style and attribute inheritance to the tree formed by the root and the subTree.private static voidapplyStyles(ISvgNodeRenderer parent, ISvgNodeRenderer child, SvgCssContext cssContext)
-
-
-
Method Detail
-
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
-
applyStyles
private static void applyStyles(ISvgNodeRenderer parent, ISvgNodeRenderer child, SvgCssContext cssContext)
-
-