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