dashArray property

int? get dashArray

Gets or sets the line dash of the annotation.

Implementation

int? get dashArray => _dashArray;
set dashArray (int? value)

Implementation

set dashArray(int? value) {
  if (value != null && _dashArray != value) {
    _dashArray = value;
    final PdfArray dasharray = PdfArray();
    dasharray.add(PdfNumber(_dashArray!));
    dasharray.add(PdfNumber(_dashArray!));
    _helper.dictionary.setProperty(PdfDictionaryProperties.d, dasharray);
  }
}