Class FormBorderFactory
java.lang.Object
com.itextpdf.forms.fields.borders.FormBorderFactory
A factory for creating
AbstractFormBorder
implementations.
-
Method Summary
-
Method Details
-
getBorder
public static Border getBorder(PdfDictionary borderStyle, float borderWidth, Color borderColor, Color backgroundColor) ReturnsBorder
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 ornull
-