MCPcopy Create free account
hub / github.com/LibPDF-js/core / moveTextPositionAndSetLeading

Method moveTextPositionAndSetLeading

src/text/text-state.ts:148–151  ·  view source on GitHub ↗

* Move to start of next line and set leading (TD operator). * Same as: -ty TL tx ty Td

(tx: number, ty: number)

Source from the content-addressed store, hash-verified

146 * Same as: -ty TL tx ty Td
147 */
148 moveTextPositionAndSetLeading(tx: number, ty: number): void {
149 this.leading = -ty;
150 this.moveTextPosition(tx, ty);
151 }
152
153 /**
154 * Move to start of next line (T* operator).

Callers 1

processOperationMethod · 0.80

Calls 1

moveTextPositionMethod · 0.95

Tested by

no test coverage detected