UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

19 lines (18 loc) 704 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; } Object.defineProperty(exports, "__esModule", { value: true }); // tslint:disable-next-line:no-unused-variable var PDFOperator_1 = __importDefault(require("../../../pdf-operators/PDFOperator")); exports.default = { /** * Save the current graphics state on the graphics state stack */ q: PDFOperator_1.default.createSingletonOp('q'), /** * Restore the graphics state by removing the most recently saved state from the * stack and making it the current state */ Q: PDFOperator_1.default.createSingletonOp('Q'), };