大约有 1,772 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1397) Laya2.0_文档(82) Laya3.0_api(68) Laya2.0_api(57) Laya3.0_文档(56) laya_api(53) Laya_示例(32) Laya2.0_示例(27)
...要回复问题请先登录 发起人 yonghua5416 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问在layaIDE里,怎么调用微信小程序API 预设怎么在代码中使用 在List渲染的时候,在滚动一个list的时候...
来源: Laya_社区 发布时间: 20170706
...tring(treeData); //调用这一句一直是undefined // let tree = new Laya.Tree(); // tree.scrollBarSkin = ""; // tree.itemRender = initTreeItem(); // tree.xml = treeData; // tree.size(300, 300) // tree.x = (Laya.stage.width - tree.width) / 2; ...
来源: Laya_社区 发布时间: 20180726
...建一个Dialog,然后放一个combobox在里面,然后再代码中,new 这个 DialogUI , popup出来,就会发现list无法点击了 romeo211 • 2017-04-25 22:47 let img = new Laya.Image('comp/bg.png'); let cbx = new Laya.ComboBox('comp/combobox.png', 'label1,label2'); cbx.selectedIndex = ...
来源: Laya_社区 发布时间: 20170425
...锁定, 无法添加新回复 发起人 as_luck 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 请问laya有没有地图编辑器工具? Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的...
来源: Laya_社区 发布时间: 20171204
...s', Handler.create(this, onLoaded)) })() function onLoaded() { var cMask = new maskDemoUI() Laya.stage.addChild(cMask) } })() 附件 : --> 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20180810
...辑了图片 执行代码说加载不出来资源 这个是怎么回事? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 分享:LayaAir下如何获取图集下的小图资源? 为什么有的图片打包,有的图片不打包? 如图 关于apk打包动画卡的问题 问...
来源: Laya_社区 发布时间: 20170205
...始化LayaAIR环境 Laya.init(1000, 800); //创建精灵 var sp:Sprite = new Sprite(); //创建渐变 var gradient=Browser.context.createLinearGradient(0,0,80,0); gradient.addColorStop(0,"white"); gradient.addColorStop(1,"red"); sp.graphics.drawRect(0, 0, 150, 150, gradient); sp.graphics.loadImage("...
来源: Laya_社区 发布时间: 20160725
...; //地址 this.img2 = "../laya/assets/comp/haoyuobang-hui.png"; var img = new Laya.Sprite(); //实例 img.width = 300; //宽高 img.height = 200; switchImg(); img.on(Laya.Event.CLICK, this, switchImg) //点击事件 Laya.stage.addChild(img); function switchImg() { img.graphics.clear(); //清除绘...
来源: Laya_社区 发布时间: 20180502
...=true', 'releasemode=normal' ] stdout: type: Linux stderr: path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPath (/usr/lib/no...
来源: Laya_社区 发布时间: 20170406
...a.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); //this.text = new Laya.Label(); this.addChild(this.img); //this.addChild(this.text); } public setImg(src: string): void { this.img.skin = src; ...
来源: Laya_社区 发布时间: 20180507