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