diff --git a/src/shapes/TextPath.ts b/src/shapes/TextPath.ts index 29d2bed9..f57542dd 100644 --- a/src/shapes/TextPath.ts +++ b/src/shapes/TextPath.ts @@ -75,7 +75,6 @@ function _strokeFunc(context) { export class TextPath extends Shape { dummyCanvas = Util.createCanvasElement(); dataArray = []; - path: SVGPathElement | undefined; glyphInfo: Array<{ transposeX: number; transposeY: number; @@ -123,7 +122,6 @@ export class TextPath extends Shape { _readDataAttribute() { this.dataArray = Path.parsePathData(this.attrs.data); - this.path = undefined; this.pathLength = this._getTextPathLength(); }