* Clear atlas and reset * 清除图集并重置
()
| 448 | * 清除图集并重置 |
| 449 | */ |
| 450 | public clear(): void { |
| 451 | this._glyphs.clear(); |
| 452 | this._cursorX = 0; |
| 453 | this._cursorY = 0; |
| 454 | this._rowHeight = 0; |
| 455 | this.initCanvas(); |
| 456 | this.version++; |
| 457 | } |
| 458 | |
| 459 | /** |
| 460 | * Dispose resources |
nothing calls this directly
no test coverage detected