UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

17 lines (16 loc) 749 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; } Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable-next-line:no-unused-variable var PDFOperator_1 = __importDefault(require("../../../pdf-operators/PDFOperator")); /** * Move to the start of the next line. * This operator has the same effect as the code * 0 -Tl Td * where Tl denotes the current leading parameter in the text state. The * negative of Tl is used here because Tl is the text leading expressed as a * positive number. Going to the next line entails decreasing the y coordinate. */ exports.default = PDFOperator_1.default.createSingletonOp('T*');