Class WidthHeightApplierUtil
java.lang.Object
com.itextpdf.html2pdf.css.apply.util.WidthHeightApplierUtil
Utilities class to apply a width or a height to an element.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyWidthHeight(Map<String, String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element) Applies a width or a height to an element.
-
Method Details
-
applyWidthHeight
public static void applyWidthHeight(Map<String, String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element) Applies a width or a height to an element.- Parameters:
-
cssProps- the CSS properties -
context- the processor context -
element- the element
-