大约有 1,402 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0092 秒)
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...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
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...取设备屏幕屏幕的物理宽高。 ### 示例代码中所用的背景图片: [loadingBg.jpg](http://ldc.layabox.com/uploadfile/file/20170223/1487816895380055.jpg)(点击打开或另存`1136×640`像素背景原图) ### 一、exactfit模式 exactfit模式是一种不考虑内容的原始...
来源: Laya2.0_文档 发布时间: 20200307
...取设备屏幕屏幕的物理宽高。 ### 示例代码中所用的背景图片: [loadingBg.jpg](http://ldc.layabox.com/uploadfile/file/20170223/1487816895380055.jpg)(点击打开或另存`1136×640`像素背景原图) ### 一、exactfit模式 exactfit模式是一种不考虑内容的原始...
来源: Laya2.0_文档 发布时间: 20200307
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/display/Sprite.ts:1848 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Returns Texture Inhe...
来源: Laya3.0_api 发布时间: 20231115