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