Class FormBorderFactory
java.lang.Object
com.itextpdf.forms.fields.borders.FormBorderFactory
A factory for creating
AbstractFormBorder implementations.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FormBorderFactory
private FormBorderFactory()
-
-
Method Details
-
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
-