PdfLineJoin enum Null safety

Specifies the corner style of the shapes.

//Create a new PDF document.
PdfDocument document = PdfDocument()
      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 = document.save();
//Close the document.
Implemented types


bevel → const PdfLineJoin

The two segments are finished with caps and the resulting notch beyond the ends of the segments is filled with a triangle.

const PdfLineJoin(2)
miter → const PdfLineJoin

The outer edges for the two segments are extended until they meet at an angle.

const PdfLineJoin(0)
round → const PdfLineJoin

An arc of a circle with a diameter equal to the line width is drawn around the point where the two segments meet, connecting the outer edges for the two segments.

const PdfLineJoin(1)
values → const List<PdfLineJoin>

A constant List of the values in this enum, in order of their declaration.

const List<PdfLineJoin>


hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]