Border
Overview
Border is a class in Aspose.Pdf FOSS for Java.
Represents the border of an annotation or form field (ISO 32000-1:2008, §12.5.4).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
width | double | Read | Returns the border width in points. |
style | BorderStyle | Read | Returns the border style. |
dash | int[] | Read | Returns the dash pattern array for dashed borders. |
Methods
| Signature | Description |
|---|---|
Border(parent: Annotation) | Constructs a border for the specified annotation. |
getWidth() → double | Returns the border width in points. |
setWidth(width: double) | Sets the border width in points. |
getStyle() → BorderStyle | Returns the border style. |
setStyle(style: BorderStyle) | Sets the border style. |
getDash() → int[] | Returns the dash pattern array for dashed borders. |
setDash(dash: int[]) | Sets the dash pattern array for dashed borders. |