pdf-lib
Version:
Library for creating and modifying PDF files in JavaScript
12 lines (11 loc) • 499 B
JavaScript
// tslint:disable-next-line:no-unused-variable
import PDFOperator from '../../../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.
*/
export default PDFOperator.createSingletonOp('T*');