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