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