大约有 192 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0056 秒)
...有要求的,见以下代码片段(laya.net.Loader):var directory:String = (this._data.meta && this._data.meta.prefix) ? URL.basePath + this._data.meta.prefix : this._url.substring(0, this._url.lastIndexOf(".")) + "/"; var url:String = directory + name; loadedMap[url] = Texture.creat...
来源: Laya_社区 发布时间: 20160610
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: laya_api 发布时间: 20170929
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite borderColor : String 表示颜色样本列表面板的边框颜色...
来源: laya_api 发布时间: 20170929
...获取。设置为true,对性能有一定影响。 Sprite bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite borderColor : String 表示颜色样本列表面板的边框颜色...
来源: Laya2.0_api 发布时间: 20190513
...eGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.scoreItem.height; this.scoreBox.addChild(fi...
来源: Laya_社区 发布时间: 20180517
...chy : Boolean[read-only] 获取在场景中是否激活。 Node align : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...
来源: laya_api 发布时间: 20170929
...Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不...
来源: laya_api 发布时间: 20170929
...ebGL; import Stat = Laya.Stat; export class Animation_SWF{ private SWFPath:string = "h5/res/Map11.swf"; private MCWidth:number = 760; private MCHeight:number = 650; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(760,650, WebGL); Laya.stage.frameRate = Stage.FRAME_SLOW; ...
来源: Laya_社区 发布时间: 20171103