MCPcopy
hub / github.com/Lulzx/tinypdf / PDFBuilder

Interface PDFBuilder

src/index.ts:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27export interface PDFBuilder {
28 page(width: number, height: number, fn: (ctx: PageContext) => void): void
29 page(fn: (ctx: PageContext) => void): void
30 build(): Uint8Array
31 measureText: typeof measureText
32}
33
34type PDFValue = null | boolean | number | string | PDFValue[] | Ref | { [key: string]: PDFValue | undefined }
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected