@syncfusion/ej2-pdfviewer
Version:
Essential JS 2 PDF viewer Component
24 lines (23 loc) • 553 B
JavaScript
/**
* @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 };