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