Class BackgroundApplierUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.BackgroundApplierUtil
Utilities class to apply backgrounds.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyBackground(Map<String, String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element) Applies background to an element.
-
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
-