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