@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
28 lines • 930 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ToolboxRotate = void 0;
const index_1 = require("./../index");
class ToolboxRotate extends index_1.BaseToolbox {
constructor(data) {
super(data);
this.rotate = index_1.ToolboxRotateRotate.fromJson(data === null || data === void 0 ? void 0 : data.rotate);
}
static getRotateDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new ToolboxRotate(data);
}
toJson() {
var _a;
return Object.assign(Object.assign({}, (super.toJson())), { 'rotate': (_a = this.rotate) === null || _a === void 0 ? void 0 : _a.toJson() });
}
clone() {
return ToolboxRotate.fromJson(this.toJson());
}
}
exports.ToolboxRotate = ToolboxRotate;
//# sourceMappingURL=ToolboxRotate.js.map