@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 • 518 B
JavaScript
export class Color {
get colorSpace() {
return this._colorSpace;
}
static equals(a, b) {
if (a == null && b == null)
return true;
if (a == null || b == null)
return false;
return a.equals(b);
}
equals(other) {
return other.colorSpace === this.colorSpace;
}
getData() {
const data = {
colorSpace: this.colorSpace
};
return data;
}
}
//# sourceMappingURL=Color.js.map