大约有 16 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0164 秒)
...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont getMaxHeight():Number 获取最大字符高度。 BitmapFont...
来源: Laya2.0_api 发布时间: 20190513
...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
...roup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是...
来源: Laya2.0_api 发布时间: 20190513
...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
...ht : Number[read-only] 表示文本的高度,以像素为单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...ht : Number[read-only] 表示文本的高度,以像素为单位。 Text texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...el textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513
...ponent text : Text[read-only] 按钮文本标签 Text 控件。 Button texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,...
来源: Laya2.0_api 发布时间: 20190513