(zrX: number, zrY: number)
| 484 | } |
| 485 | |
| 486 | moveTo(zrX: number, zrY: number) { |
| 487 | if (!this.el) { |
| 488 | return; |
| 489 | } |
| 490 | const styleCoord = this._styleCoord; |
| 491 | makeStyleCoord(styleCoord, this._zr, this._container, zrX, zrY); |
| 492 | |
| 493 | if (styleCoord[0] != null && styleCoord[1] != null) { |
| 494 | const style = this.el.style; |
| 495 | const transforms = assembleTransform(styleCoord[0], styleCoord[1]) as string[][]; |
| 496 | each(transforms, (transform) => { |
| 497 | style[transform[0] as any] = transform[1]; |
| 498 | }); |
| 499 | } |
| 500 | } |
| 501 | |
| 502 | /** |
| 503 | * when `alwaysShowContent` is true, |
no test coverage detected