Class FormBorderFactory
- java.lang.Object
-
- com.itextpdf.forms.fields.borders.FormBorderFactory
-
public final class FormBorderFactory extends java.lang.Object
A factory for creatingAbstractFormBorder
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)
ReturnsBorder
for specific borderStyle.
-
-
-
Method Detail
-
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.4borderWidth
- width of the borderborderColor
- color of the borderbackgroundColor
- element background color. This param used for drawing beveled border type- Returns:
Border
implementation ornull
-
-