UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

18 lines 897 B
import { __extends } from "tslib"; import { EShapeCapabilities, EShapeCapability } from "@wcardinal/wcardinal-ui"; import { ECommandShapePropertyStrokeStyle } from "./e-command-shape-property-stroke-style"; var ECommandShapePropertyLineStyle = /** @class */ (function (_super) { __extends(ECommandShapePropertyLineStyle, _super); function ECommandShapePropertyLineStyle() { return _super !== null && _super.apply(this, arguments) || this; } ECommandShapePropertyLineStyle.prototype.toCapability = function (shape) { if (EShapeCapabilities.contains(shape, EShapeCapability.LINE)) { return EShapeCapability.LINE; } return EShapeCapability.NONE; }; return ECommandShapePropertyLineStyle; }(ECommandShapePropertyStrokeStyle)); export { ECommandShapePropertyLineStyle }; //# sourceMappingURL=e-command-shape-property-line-style.js.map