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).

This class provides 8 methods for working with Border objects in Java programs. Available methods include: Border, getDash, getStyle, getWidth, setDash, setStyle, setWidth. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: dash, style, width.

Properties

NameTypeAccessDescription
widthdoubleReadReturns the border width in points.
styleBorderStyleReadReturns the border style.
dashint[]ReadReturns the dash pattern array for dashed borders.

Methods

SignatureDescription
Border(parent: Annotation)Constructs a border for the specified annotation.
Border(option: RadioButtonOptionField)Constructs a border bound to a {@link RadioButtonOptionField}.
getWidth()doubleReturns the border width in points.
setWidth(width: double)Sets the border width in points.
getStyle()BorderStyleReturns 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.

See Also

 English