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

Method appendOperators

src/api/pdf-page.ts:2660–2662  ·  view source on GitHub ↗

* Append operators to the page content stream (foreground).

(ops: Operator[])

Source from the content-addressed store, hash-verified

2658 * Append operators to the page content stream (foreground).
2659 */
2660 private appendOperators(ops: Operator[]): void {
2661 this.appendContent(serializeOperators(ops));
2662 }
2663
2664 /**
2665 * Prepend operators to the page content stream (background).

Callers 8

drawPageMethod · 0.95
drawRectangleMethod · 0.95
drawLineMethod · 0.95
drawCircleMethod · 0.95
drawEllipseMethod · 0.95
drawTextMethod · 0.95
drawImageMethod · 0.95
drawOperatorsMethod · 0.95

Calls 2

appendContentMethod · 0.95
serializeOperatorsFunction · 0.90

Tested by

no test coverage detected