12345678910111213141516 |
- import SVG from "../Geometry/SVG.js";
- import { dataService } from "./DataService.js";
- import { mathUtil } from "../Util/MathUtil.js";
- export default class SVGService {
- constructor() {}
- create(position, svgId) {
- let svg = new SVG(position, svgId);
- dataService.addSVG(svg);
- return svg;
- }
- }
- const svgService = new SVGService();
- export { svgService };
|