linePoints property

List<int> linePoints

Gets the line points of the annotation.

Implementation

List<int> get linePoints =>
    PdfAnnotationHelper.getHelper(this).isLoadedAnnotation
        ? _helper._obtainLinePoints()
        : _helper.points;
void 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);
  }
}