* Create an extended graphics state (ExtGState) for advanced graphics options. * * @param options - ExtGState options including opacity and blend mode * @returns PDFExtGState resource for use with page.registerExtGState() * * @example * ```typescript * const gs = pdf.createExtGS
(options: ExtGStateOptions)
| 2446 | * ``` |
| 2447 | */ |
| 2448 | createExtGState(options: ExtGStateOptions): PDFExtGState { |
| 2449 | const dict = PDFExtGState.createDict(options); |
| 2450 | const ref = this.register(dict); |
| 2451 | |
| 2452 | return new PDFExtGState(ref); |
| 2453 | } |
| 2454 | |
| 2455 | // ───────────────────────────────────────────────────────────────────────────── |
| 2456 | // Low-Level Drawing API - Form XObjects |
no test coverage detected