width property

double get width

Gets or sets the width of annotation's border.

Implementation

double get width => _borderWidth;
set width (double value)

Implementation

set width(double value) {
  if (value != _borderWidth) {
    _borderWidth = value;
    if (!_helper.isWidgetBorder) {
      _setNumber(2, value);
    }
    _helper.dictionary
        .setNumber(PdfDictionaryProperties.w, _borderWidth.toInt());
  }
}