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