linePoints property

List<int> get linePoints

Gets the line points of the annotation.

Implementation

List<int> get linePoints =>
    PdfAnnotationHelper.getHelper(this).isLoadedAnnotation
        ? _helper._obtainLinePoints()
        : _helper.points;
set linePoints (List<int> value)

Sets the line points of the annotation.

Implementation

set linePoints(List<int> value) {
  final PdfAnnotationHelper helper = PdfAnnotationHelper.getHelper(this);
  _helper.points = value;
  _helper.linePoints = PdfArray(_helper.points);
  if (helper.isLoadedAnnotation) {
    helper.dictionary!
        .setProperty(PdfDictionaryProperties.l, _helper.linePoints);
  }
}