Class FormBorderFactory

java.lang.Object
com.itextpdf.forms.fields.borders.FormBorderFactory

public final class FormBorderFactory extends Object
A factory for creating AbstractFormBorder implementations.
  • Method Details

    • getBorder

      public static Border getBorder (PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)
      Returns Border for specific borderStyle.
      Parameters:
      borderStyle - border style dictionary. ISO 32000-1 12.5.4
      borderWidth - width of the border
      borderColor - color of the border
      backgroundColor - element background color. This param used for drawing beveled border type
      Returns:
      Border implementation or null