modern-pdf-lib / lineToOp
Function: lineToOp()
lineToOp(
x,y):string
Defined in: src/core/operators/graphics.ts:53
Append a straight line segment from the current point to (x, y) (l).
Parameters
x
number
Target x coordinate.
y
number
Target y coordinate.
Returns
string