Class OutlineApplierUtil

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

public class OutlineApplierUtil extends Object
  • Method Details

    • applyOutlines

      public static void applyOutlines (Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
      Applies outlines to an element.
      Parameters:
      cssProps - the CSS properties
      context - the Processor context
      element - the element
    • getCertainBorder

      public static com.itextpdf.layout.borders.Border getCertainBorder (String outlineWidth, String outlineStyle, String outlineColor, float em, float rem)
      Creates a Border instance based on specific properties.
      Parameters:
      outlineWidth - the outline width
      outlineStyle - the outline style
      outlineColor - the outline color
      em - the em value
      rem - the root em value
      Returns:
      the border