leaderLine property

int get leaderLine

Gets the leader line.

Implementation

int get leaderLine => PdfAnnotationHelper.getHelper(this).isLoadedAnnotation
    ? _helper._obtainLeaderLine()
    : _helper.leaderLine;
set leaderLine (int value)

Sets the leader line.

Implementation

set leaderLine(int value) {
  final PdfAnnotationHelper helper = PdfAnnotationHelper.getHelper(this);
  final bool isLoadedAnnotation = helper.isLoadedAnnotation;
  if (value != 0 && !isLoadedAnnotation) {
    _helper.leaderLine = value;
  } else if (isLoadedAnnotation) {
    helper.dictionary!.setNumber(PdfDictionaryProperties.ll, value);
  }
}