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

大约有 16 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)

1. laya.display.BitmapFont [ 100%]

...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont  getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont  getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont  getMaxHeight():Number 获取最大字符高度。 BitmapFont...

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

2. laya.display.Graphics [ 94%]

...h:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics  drawImage(texture:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0):DrawImageCmd 绘制单独图片 Graphics  drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1...

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

3. laya.net.Loader [ 88%]

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

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

4. laya.ui.AutoBitmap [ 86%]

...0,1为垂直3宫格,3宫格性能比9宫格高。 AutoBitmap  source : Texture 对象的纹理资源。 AutoBitmap  width : Number 表示显示对象的宽度,以像素为单位。 AutoBitmapPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By alpha(a...

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

5. laya.display.Text [ 78%]

...ht : Number[read-only] 表示文本的高度,以像素为单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

6. laya.display.Input [ 78%]

...ht : Number[read-only] 表示文本的高度,以像素为单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

7. laya.ui.Label [ 72%]

...el  textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

8. laya.ui.TextInput [ 67%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

9. laya.ui.TextArea [ 65%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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

10. laya.ui.Button [ 64%]

...ponent  text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...

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