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