[]
DsPdfJS API / PenLineCap
Describes the shape at the end of a line or segment.
Flat:
0
A cap that does not extend past the last point of the line.
Round:
1
A semicircle that has a diameter equal to the line thickness.
Square:
2
Half of a square that has a length equal to the line thickness.