| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary | |
| public static final String | STYLE_BEVELED
Constant for the name of a beveled style. |
| public static final String | STYLE_DASHED
Constant for the name of a dashed style. |
| public static final String | STYLE_INSET
Constant for the name of a inset style. |
| public static final String | STYLE_SOLID
Constant for the name of a solid style. |
| public static final String | STYLE_UNDERLINE
Constant for the name of a underline style. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public COSDictionary | Returns: the dictionaryImplements org. returns the dictionary. |
| public PDLineDashPattern | Returns: the dash style of the borderThis will retrieve the dash style used for drawing the border. |
| public String | Returns: the style of the borderThis will retrieve the border style, see the STYLE_* constants for valid values. |
| public float | Returns: The width of the border in points.This will retrieve the border width in points, 0 = no border. |
| public void | setDashStyle(COSArray
the dash style to use dashArray)This will set the dash style used for drawing the border. |
| public void | |
| public void |
| dictionary | back to summary |
|---|---|
| private final COSDictionary dictionary | |
| STYLE_BEVELED | back to summary |
|---|---|
| public static final String STYLE_BEVELED Constant for the name of a beveled style. | |
| STYLE_DASHED | back to summary |
|---|---|
| public static final String STYLE_DASHED Constant for the name of a dashed style. | |
| STYLE_INSET | back to summary |
|---|---|
| public static final String STYLE_INSET Constant for the name of a inset style. | |
| STYLE_SOLID | back to summary |
|---|---|
| public static final String STYLE_SOLID Constant for the name of a solid style. | |
| STYLE_UNDERLINE | back to summary |
|---|---|
| public static final String STYLE_UNDERLINE Constant for the name of a underline style. | |
| PDBorderStyleDictionary | back to summary |
|---|---|
| public PDBorderStyleDictionary() Constructor. | |
| PDBorderStyleDictionary | back to summary |
|---|---|
| public PDBorderStyleDictionary(COSDictionary dict) Constructor.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. returns the dictionary.
| |
| getDashStyle | back to summary |
|---|---|
| public PDLineDashPattern getDashStyle() This will retrieve the dash style used for drawing the border.
| |
| getStyle | back to summary |
|---|---|
| public String getStyle() This will retrieve the border style, see the STYLE_* constants for valid values.
| |
| getWidth | back to summary |
|---|---|
| public float getWidth() This will retrieve the border width in points, 0 = no border.
| |
| setDashStyle | back to summary |
|---|---|
| public void setDashStyle(COSArray dashArray) This will set the dash style used for drawing the border.
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(String s) This will set the border style, see the STYLE_* constants for valid values.
| |
| setWidth | back to summary |
|---|---|
| public void setWidth(float w) This will set the border width in points, 0 = no border. There is a bug in Adobe Reader DC, float values are ignored for text field widgets. As a workaround, floats that are integers (e.g. 2.0) are written as integer in the PDF. In Adobe Acrobat DC, the values are shown as "0 = Invisible, 1 = Thin, 2 = Medium, 3 = Thick" for widget and link annotations.
| |