UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

20 lines 1.02 kB
import { __extends } from "tslib"; import { ECommandShapePropertyRecursive } from "./e-command-shape-property-recursive"; var ECommandShapePropertyStrokeSideOff = /** @class */ (function (_super) { __extends(ECommandShapePropertyStrokeSideOff, _super); function ECommandShapePropertyStrokeSideOff() { return _super !== null && _super.apply(this, arguments) || this; } ECommandShapePropertyStrokeSideOff.prototype.getProperty = function (shape, capability) { return shape.stroke.side; }; ECommandShapePropertyStrokeSideOff.prototype.setProperty = function (shape, capability, property) { shape.stroke.side = property; }; ECommandShapePropertyStrokeSideOff.prototype.initProperty = function (shape, capability, property) { shape.stroke.side &= ~property; }; return ECommandShapePropertyStrokeSideOff; }(ECommandShapePropertyRecursive)); export { ECommandShapePropertyStrokeSideOff }; //# sourceMappingURL=e-command-shape-property-stroke-side-off.js.map