跳到主要内容

destroy 销毁

destroy

类型: MethodDeclaration

所属类: Printer

定义位置: printer.ts

描述

销毁

返回值

类型: void

源代码

位置: 第 208 行

public destroy(): void {
if (this.images.length !== 0) {
for (const imageElement of this.images) {
imageElement.destroy()
}
this.images.length = 0
this.images.changed = true
}
}

文档生成时间:2025/7/7 12:07:06