Class BackgroundApplierUtil

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

public final class BackgroundApplierUtil extends Object
Utilities class to apply backgrounds.
  • Method Details

    • applyBackground

      public static void applyBackground (Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
      Applies background to an element.
      Parameters:
      cssProps - the CSS properties
      context - the processor context
      element - the element