UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

15 lines (14 loc) 548 B
import PDFOperator from '../../../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.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.createSingletonOp('W*'); export default W;