PdfLineJoin enum
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 = await document.save();
//Close the document.
document.dispose();
Values
- 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.
- 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.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PdfLineJoin> - A constant List of the values in this enum, in order of their declaration.