* @function LevelRenderer.Storage.prototype.addHover * @description 添加高亮层数据。 * @param {LevelRenderer.Shape} shape - 图形。 * @return {LevelRenderer.Storage} this。
(shape)
| 314 | * @return {LevelRenderer.Storage} this。 |
| 315 | */ |
| 316 | addHover(shape) { |
| 317 | shape.updateNeedTransform(); |
| 318 | this._hoverElements.push(shape); |
| 319 | return this; |
| 320 | } |
| 321 | |
| 322 | /** |
| 323 | * @function LevelRenderer.Storage.prototype.delHover |
no test coverage detected