UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

20 lines (19 loc) 808 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; } Object.defineProperty(exports, "__esModule", { value: true }); var PDFOperator_1 = __importDefault(require("../../../pdf-operators/PDFOperator")); /** * Modify the current clipping path by intersecting it with the current path, * using the nonzero winding number rule to determine which regions lie inside * the clipping path. */ var W = PDFOperator_1.default.createSingletonOp('W'); /** * Modify the current clipping path by intersecting it with the current path, * using the nonzero winding number rule to determine which regions lie inside * the clipping path. */ W.asterisk = PDFOperator_1.default.createSingletonOp('W*'); exports.default = W;