大约有 22 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0024 秒)
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...rite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32,...
来源: Laya_社区 发布时间: 20160801