modern-pdf-lib / setLineCapOp
Function: setLineCapOp()
setLineCapOp(
style):string
Defined in: src/core/operators/graphics.ts:218
Set the line cap style (J).
| Value | Style |
|---|---|
| 0 | Butt cap |
| 1 | Round cap |
| 2 | Square cap |
Parameters
style
0 | 1 | 2
Returns
string