@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
20 lines • 942 B
JavaScript
import { __extends } from "tslib";
import { ECommandShapeProperty } from "./e-command-shape-property";
var ECommandShapePropertyCornerOff = /** @class */ (function (_super) {
__extends(ECommandShapePropertyCornerOff, _super);
function ECommandShapePropertyCornerOff() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyCornerOff.prototype.getProperty = function (shape, capability) {
return shape.corner;
};
ECommandShapePropertyCornerOff.prototype.setProperty = function (shape, capability, property) {
shape.corner = property;
};
ECommandShapePropertyCornerOff.prototype.initProperty = function (shape, capability, property) {
shape.corner &= ~property;
};
return ECommandShapePropertyCornerOff;
}(ECommandShapeProperty));
export { ECommandShapePropertyCornerOff };
//# sourceMappingURL=e-command-shape-property-corner-off.js.map