lineJoin property

PdfLineJoin get lineJoin

Gets or sets the line join style of the pen.

//Create a new PDF document.
PdfDocument document = PdfDocument()
  ..pages.add().graphics.drawRectangle(
      pen: PdfPen(PdfColor(255, 0, 0),
          dashStyle: PdfDashStyle.custom, lineJoin: PdfLineJoin.bevel)
        ..dashPattern = [4, 2, 1, 3],
      bounds: Rect.fromLTWH(0, 0, 200, 100));
//Save the document.
List<int> bytes = await document.save();
//Close the document.
document.dispose();

Implementation

PdfLineJoin get lineJoin => _lineJoin;
set lineJoin (PdfLineJoin value)

Implementation

set lineJoin(PdfLineJoin value) {
  _checkImmutability();
  _lineJoin = value;
}