@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 ECommandShapePropertyStrokeAlign = /** @class */ (function (_super) {
__extends(ECommandShapePropertyStrokeAlign, _super);
function ECommandShapePropertyStrokeAlign() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyStrokeAlign.prototype.getProperty = function (shape, capability) {
return shape.stroke.align;
};
ECommandShapePropertyStrokeAlign.prototype.setProperty = function (shape, capability, property) {
shape.stroke.align = property;
};
ECommandShapePropertyStrokeAlign.prototype.isMergeable = function () {
return true;
};
return ECommandShapePropertyStrokeAlign;
}(ECommandShapePropertyRecursiveSimple));
export { ECommandShapePropertyStrokeAlign };
//# sourceMappingURL=e-command-shape-property-stroke-align.js.map