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