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