UNPKG

pdf-lib

Version:

Library for creating and modifying PDF files in JavaScript

16 lines (15 loc) 813 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")); /** * Close the current subpath by appending a straight line segment from the current * point to the starting point of the subpath. If the current subpath is already * closed, h shall do nothing. This operator terminates the current subpath. * Appending another segment to the current path shall begin a new subpath, even if * the new segment begins at the endpoint reached by the h operation. */ exports.default = PDFOperator_1.default.createSingletonOp('h');