UNPKG

@aurigma/design-atoms-model

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

20 lines 644 B
import { equals } from "../../Utils/Utils"; var Size = /** @class */ (function () { function Size(width, height) { if (width === void 0) { width = 0; } if (height === void 0) { height = 0; } this.width = width; this.height = height; } Size.prototype.equals = function (other) { return other != null && equals(this.width, other.width) && equals(this.height, other.height); }; Size.prototype.clone = function () { return new Size(this.width, this.height); }; return Size; }()); export { Size }; //# sourceMappingURL=Size.js.map