* Remove a child display object * 移除子显示对象
(child: DisplayObject)
| 358 | * 移除子显示对象 |
| 359 | */ |
| 360 | public removeChild(child: DisplayObject): void { |
| 361 | const index = this._children.indexOf(child); |
| 362 | if (index >= 0) { |
| 363 | this.removeChildAt(index); |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | /** |
| 368 | * Remove child at specific index |
nothing calls this directly
no test coverage detected