setLineWidth method

void setLineWidth(
  1. double width
)

Set line width

Implementation

void setLineWidth(double width) {
  assert(() {
    if (_page.pdfDocument.verbose) {
      _buf.putComment('setLineWidth $width');
    }
    return true;
  }());

  PdfNum(width).output(_buf);
  _buf.putString(' w\n');
}