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