Class SvgNodeRendererInheritanceResolver

java.lang.Object
com.itextpdf.svg.css.impl.SvgNodeRendererInheritanceResolver

public final class SvgNodeRendererInheritanceResolver extends Object
Style and attribute inheritance resolver for ISvgNodeRenderer objects.
  • 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 of ISvgNodeRenderer
      cssContext - the current SVG CSS context