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

Method drawOperators

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

* Emit raw PDF operators to the page content stream. * * This is the low-level drawing API that gives you direct control over * PDF content stream operators. Use this when you need advanced features * like matrix transforms, graphics state stack, gradients, or patterns * that aren't a

(operators: Operator[])

Source from the content-addressed store, hash-verified

1486 * ```
1487 */
1488 drawOperators(operators: Operator[]): void {
1489 this.appendOperators(operators);
1490 }
1491
1492 /**
1493 * Register a font resource and return its operator name.

Calls 1

appendOperatorsMethod · 0.95

Tested by 3

drawCircleFunction · 0.64
drawFilledCircleFunction · 0.64
drawNewBadgeFunction · 0.64