MCPcopy
hub / github.com/Yqnn/svg-path-editor / reverseSubPath

Method reverseSubPath

src/app/app.component.ts:390–395  ·  view source on GitHub ↗
(item: SvgItem)

Source from the content-addressed store, hash-verified

388 }
389
390 reverseSubPath(item: SvgItem) {
391 const idx = this.parsedPath.path.indexOf(item);
392 reversePath(this.parsedPath, idx);
393 this.afterModelChange();
394 this.focusedItem = null;
395 }
396
397 afterModelChange() {
398 this.reloadPoints();

Callers

nothing calls this directly

Calls 2

afterModelChangeMethod · 0.95
reversePathFunction · 0.90

Tested by

no test coverage detected