• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 19 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0057 秒)

1. laya.net.LoaderManager [ 100%]

... LoaderManager  clearTextureRes(url:String):void 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁textu...

来源: Laya2.0_api 发布时间: 20190513

2. laya.net.Loader [ 98%]

... Loader  clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是清理texture里面使用的图片资源,并不销毁text...

来源: Laya2.0_api 发布时间: 20190513

3. laya.display.Graphics [ 94%]

...:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics  drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):DrawLineCmd 绘制一条线。 Graphics  drawLines(x:Number, y:Number, points:Array, lineColor:*, lineW...

来源: Laya2.0_api 发布时间: 20190513

4. laya.ui.FontClip [ 83%]

...r Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontClip.skin = "font1.pn...

来源: Laya2.0_api 发布时间: 20190513

5. laya.ui.Dialog [ 80%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite timer : Time...

来源: Laya2.0_api 发布时间: 20190513

6. laya.ui.Label [ 78%]

...实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite toolTip : * ...

来源: Laya2.0_api 发布时间: 20190513

7. laya.html.dom.HTMLDivElement [ 75%]

...bc p:行元素标签,p标签会自动换行,div不会,比如:abc img:图片标签,比如: br:换行标签,比如: style:样式标签,比如: link:外链样式标签,可以加载一个css文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bol...

来源: Laya2.0_api 发布时间: 20190513

8. laya.display.Text [ 72%]

...单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  textWidth :...

来源: Laya2.0_api 发布时间: 20190513

9. laya.ui.LayoutBox [ 72%]

...。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite toolTip : * ...

来源: Laya2.0_api 发布时间: 20190513

10. laya.display.Stage [ 71%]

...刷新。Sprite texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  transform ...

来源: Laya2.0_api 发布时间: 20190513