UNPKG

@syncfusion/ej2-pdfviewer

Version:
24 lines (23 loc) 553 B
/** * @hidden * Size defines and processes the size(width/height) of the objects */ var Size = /** @class */ (function () { function Size(width, height) { this.width = width; this.height = height; } // /** @private */ // public isEmpty(): boolean { // return this.height === 0 && this.width === 0; // } /** * @private * @returns {Size} - Size */ Size.prototype.clone = function () { return new Size(this.width, this.height); }; return Size; }()); export { Size };