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.

22 lines 656 B
var SizeF = /** @class */ (function () { function SizeF(width, height) { this.width = 0; this.height = 0; this.width = width; this.height = height; } SizeF.prototype.clone = function () { return new SizeF(this.width, this.height); }; SizeF.prototype.toString = function () { var p = [this.width, this.height]; return p.join(","); }; SizeF.prototype.updateByMatrix = function (matrix) { matrix.updateObjectByMatrix(this, "width", "height"); return this; }; return SizeF; }()); export { SizeF }; //# sourceMappingURL=SizeF.js.map