Class FontStyleApplierUtil

java.lang.Object
com.itextpdf.html2pdf.css.apply.util.FontStyleApplierUtil

public final class FontStyleApplierUtil extends Object
Utilities class to apply font styles.
  • Method Details

    • applyFontStyles

      public static void applyFontStyles (Map<String,String> cssProps, ProcessorContext context, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer, com.itextpdf.layout.IPropertyContainer element)
      Applies font styles to an element.
      Parameters:
      cssProps - the CSS props
      context - the processor context
      stylesContainer - the styles container
      element - the element