@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 ECommandShapePropertyTextFamily = /** @class */ (function (_super) {
__extends(ECommandShapePropertyTextFamily, _super);
function ECommandShapePropertyTextFamily() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyTextFamily.prototype.getProperty = function (shape, capability) {
return shape.text.family;
};
ECommandShapePropertyTextFamily.prototype.setProperty = function (shape, capability, property) {
shape.text.family = property;
};
return ECommandShapePropertyTextFamily;
}(ECommandShapePropertySimple));
export { ECommandShapePropertyTextFamily };
//# sourceMappingURL=e-command-shape-property-text-family.js.map