[]
DsPdfJS API / Border
Defines properties of the annotation's border.
new Border(
om?):Border
Creates a new Border.
ObjectManager that controls the lifetime of the Border.
Border
ObjectBase.constructor
new Border():
Border
Creates a new Border.
Border
ObjectBase.constructor
get color():
Color
Gets or sets the border color.
set color(
value):void
Gets or sets the border color.
void
get dashPattern():
number[] |null
Gets or sets the dash pattern, used if 'style' == 'BorderStyle.Dashed'.
number[] | null
set dashPattern(
value):void
Gets or sets the dash pattern, used if 'style' == 'BorderStyle.Dashed'.
number[] | null
void
get id():
number
Gets the reference to the object.
number
get om():
ObjectManager
Gets the owner ObjectManager instance.
get style():
BorderStyle
Gets or sets the border style.
set style(
value):void
Gets or sets the border style.
void
get width():
number
Gets or sets the border's width in points (1/72 inch).
number
set width(
value):void
Gets or sets the border's width in points (1/72 inch).
number
void
free():
void
Detaches the object from the ObjectManager and deallocates its memory, if possible.
void
rebind(
omTo):void
Rebinds the object from the current ObjectManager to the specified one.
The new ObjectManager for the object.
void