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.

30 lines 816 B
var Color = /** @class */ (function () { function Color() { } Object.defineProperty(Color.prototype, "colorSpace", { get: function () { return this._colorSpace; }, enumerable: true, configurable: true }); Color.equals = function (a, b) { if (a == null && b == null) return true; if (a == null || b == null) return false; return a.equals(b); }; Color.prototype.equals = function (other) { return other.colorSpace === this.colorSpace; }; Color.prototype.getData = function () { var data = { colorSpace: this.colorSpace }; return data; }; return Color; }()); export { Color }; //# sourceMappingURL=Color.js.map