UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

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