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