DsPdfJS API - v9.1.0
    Preparing search index...

    Class Border

    Defines properties of the annotation's border.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get color(): Color

      Gets or sets the border color.

      Returns Color

    • set color(value: Color): void

      Gets or sets the border color.

      Parameters

      Returns void

    • get dashPattern(): number[] | null

      Gets or sets the dash pattern, used if 'style' == 'BorderStyle.Dashed'.

      Returns number[] | null

    • set dashPattern(value: number[] | null): void

      Gets or sets the dash pattern, used if 'style' == 'BorderStyle.Dashed'.

      Parameters

      • value: number[] | null

      Returns void

    • get id(): number

      Gets the reference to the object.

      Returns number

    • get width(): number

      Gets or sets the border's width in points (1/72 inch).

      Returns number

    • set width(value: number): void

      Gets or sets the border's width in points (1/72 inch).

      Parameters

      • value: number

      Returns void

    Methods

    • Detaches the object from the ObjectManager and deallocates its memory, if possible.

      Returns void