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