pen property

PdfPen get pen

Gets a pen that will be used to draw the element.

Implementation

PdfPen get pen {
  _helper.pen ??= PdfPens.black;
  return _helper.pen!;
}
set pen (PdfPen value)

Sets a pen that will be used to draw the element.

Implementation

set pen(PdfPen value) {
  _helper.pen = value;
}