PdfLineJoin enum Null safety
Specifies the corner style of the shapes.
//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 = document.save(); //Close the document. document.dispose();
- 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.
- miter → const PdfLineJoin
The outer edges for the two segments are extended until they meet at an angle.
- 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 List<
A constant List of the values in this enum, in order of their declaration.