* @private
(api: ExtensionAPI)
| 480 | * @private |
| 481 | */ |
| 482 | clear(api: ExtensionAPI) { |
| 483 | this._lastValue = null; |
| 484 | this._lastStatus = null; |
| 485 | |
| 486 | const zr = api.getZr(); |
| 487 | const group = this._group; |
| 488 | const handle = this._handle; |
| 489 | if (zr && group) { |
| 490 | this._lastGraphicKey = null; |
| 491 | group && zr.remove(group); |
| 492 | handle && zr.remove(handle); |
| 493 | this._group = null; |
| 494 | this._handle = null; |
| 495 | this._payloadInfo = null; |
| 496 | } |
| 497 | |
| 498 | throttleUtil.clear(this, '_doDispatchAxisPointer'); |
| 499 | } |
| 500 | |
| 501 | /** |
| 502 | * @protected |