Class FormBorderFactory


  • public final class FormBorderFactory
    extends java.lang.Object
    A factory for creating AbstractFormBorder implementations.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FormBorderFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Border getBorder​(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)
      Returns Border for specific borderStyle.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormBorderFactory

        private FormBorderFactory()
    • Method Detail

      • 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