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