Skip to content

modern-pdf-lib


modern-pdf-lib / setLineCapOp

Function: setLineCapOp()

setLineCapOp(style): string

Defined in: src/core/operators/graphics.ts:218

Set the line cap style (J).

ValueStyle
0Butt cap
1Round cap
2Square cap

Parameters

style

0 | 1 | 2

Returns

string

Released under the MIT License.