modern-pdf-lib / moveTextSetLeading
Function: moveTextSetLeading()
moveTextSetLeading(
tx,ty):string
Defined in: src/core/operators/text.ts:194
Move to the start of the next line, offset by (tx, ty), and set the leading to -ty (TD).
Equivalent to: -ty TL followed by tx ty Td.
Parameters
tx
number
ty
number
Returns
string