Name
  annot:SetLineAnnotPosition -- set line annotation position
Synopsis

      status = annot:SetLineAnnotPosition(startpoint, startstyle, endpoint,
                   endstyle)

Function
  This method is currently undocumented in libHaru. Complain to the libHaru authors.

  The `startstyle` and `endstyle` parameters must be one of the following constants:

      #HPDF_LINE_ANNOT_NONE
      #HPDF_LINE_ANNOT_SQUARE
      #HPDF_LINE_ANNOT_CIRCLE
      #HPDF_LINE_ANNOT_DIAMOND
      #HPDF_LINE_ANNOT_OPENARROW
      #HPDF_LINE_ANNOT_CLOSEDARROW
      #HPDF_LINE_ANNOT_BUTT
      #HPDF_LINE_ANNOT_ROPENARROW
      #HPDF_LINE_ANNOT_RCLOSEDARROW
      #HPDF_LINE_ANNOT_SLASH

  The parameters `startpoint` and `endpoint` must be tables that describe a point each. Thus, each of those tables must contain the fields `x` and `y`.

  Returns `#HPDF_OK` on success. Otherwise, returns an error code and the error handler is invoked.

Inputs
  startpoint
    start point
  startstyle
    start style (see above for possible values)
  endpoint
    end point
  endstyle
    end style (see above for possible values)
Results
  status
    status code

Show TOC