Class CssInheritance

java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.CssInheritance
All Implemented Interfaces:
IStyleInheritance

public class CssInheritance extends Object implements IStyleInheritance
Helper class that allows you to check if a property is inheritable.
  • Constructor Details

    • CssInheritance

      public CssInheritance()
  • Method Details

    • isInheritable

      public boolean isInheritable (String cssProperty)
      Checks if a property is inheritable.
      Specified by:
      isInheritable in interface IStyleInheritance
      Parameters:
      cssProperty - the CSS property
      Returns:
      true, if the property is inheritable