@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
21 lines • 983 B
JavaScript
import { __extends } from "tslib";
import { ECommandShapeProperty } from "./e-command-shape-property";
var ECommandShapePropertyImageClear = /** @class */ (function (_super) {
__extends(ECommandShapePropertyImageClear, _super);
function ECommandShapePropertyImageClear(selection) {
return _super.call(this, selection, undefined) || this;
}
ECommandShapePropertyImageClear.prototype.getProperty = function (shape, capability) {
return shape.image;
};
ECommandShapePropertyImageClear.prototype.setProperty = function (shape, capability, property) {
shape.image = property;
};
ECommandShapePropertyImageClear.prototype.initProperty = function (shape, capability, property) {
shape.image = undefined;
shape.gradient = undefined;
};
return ECommandShapePropertyImageClear;
}(ECommandShapeProperty));
export { ECommandShapePropertyImageClear };
//# sourceMappingURL=e-command-shape-property-image-clear.js.map