Class FormBorderFactory
- java.lang.Object
-
- com.itextpdf.forms.fields.borders.FormBorderFactory
-
public final class FormBorderFactory extends java.lang.ObjectA factory for creatingAbstractFormBorderimplementations.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFormBorderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BordergetBorder(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)ReturnsBorderfor specific borderStyle.
-
-
-
Method Detail
-
getBorder
public static Border getBorder(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor)
ReturnsBorderfor specific borderStyle.- Parameters:
borderStyle- border style dictionary. ISO 32000-1 12.5.4borderWidth- width of the borderborderColor- color of the borderbackgroundColor- element background color. This param used for drawing beveled border type- Returns:
Borderimplementation ornull
-
-