UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

29 lines 887 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RemoveToolboxAnnotation = void 0; const index_1 = require("./../index"); class RemoveToolboxAnnotation { constructor(data) { this.selection = index_1.SelectionRemove.fromJson(data.selection); } static getSelectionDescription() { return ""; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new RemoveToolboxAnnotation(data); } toJson() { var _a; return { 'selection': (_a = this.selection) === null || _a === void 0 ? void 0 : _a.toJson(), }; } clone() { return RemoveToolboxAnnotation.fromJson(this.toJson()); } } exports.RemoveToolboxAnnotation = RemoveToolboxAnnotation; //# sourceMappingURL=RemoveToolboxAnnotation.js.map