Skip to content

modern-pdf-lib


modern-pdf-lib / moveTextOp

Function: moveTextOp()

moveTextOp(tx, ty): string

Defined in: src/core/operators/text.ts:184

Move to the start of the next line, offset by (tx, ty) (Td).

Parameters

tx

number

Horizontal offset from the start of the current line.

ty

number

Vertical offset from the start of the current line.

Returns

string

Released under the MIT License.