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

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

131. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 56%]

...   lineHeight: 40,                         backgroundColor: '#ff0000',                         color: '#ffffff',                         textAlign: 'center',                         fontSize: 16,                         borderRadius: 4   ...

来源: Laya_社区 发布时间: 20180911

132. ui组件list数据源的疑问 [ 56%]

...多个属性赋值的话可以写arr.push({label: {text:"item"+i,color:"#FF0000"},clip: i % 9}); 2017-05-03 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 tanglijiong 相关问题 List滑动条会引起单元格上的按钮点击后多...

来源: Laya_社区 发布时间: 20170503

133. 问一下这个问题要怎么改啊? [ 56%]

...0, 0); var txt:Text = new Text(); txt.text = "Fishing Game"; txt.color = "#FFFFFF"; txt.fontSize = 60; txt.stroke = 5; txt.strokeColor = "#FF0000"; txt.pos(60,100); txt.bold = true; Laya.stage.addChild(txt); } } }但是提示参数数量不正确 这个问题要怎么解决呢?   附件 : --> 201...

来源: Laya_社区 发布时间: 20170522

134. 使用graphics.drawPath方法绘制带边框圆角矩形出现的问题 [ 56%]

...        this.container.graphics.drawPath(100, 100, path, {fillStyle: "#ff0000"},{"strokeStyle":"#ffffff","lineWidth":"1","lineJoin":"miter","lineCap":"round","miterLimit":1});   附件 : --> 2017-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

来源: Laya_社区 发布时间: 20170320

135. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 55%]

...new Text(); txt.text = "Hello, World!"; //设置文本颜色 txt.color = '#FF0000'; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5; //描边为5像素 txt.strokeColor = '#FFFFFF'; //设置为粗体 txt.bold = true; //设置文本的显示起点位...

来源: Laya_社区 发布时间: 20180914

136. 图像组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...eSourceSize = true;//设置图片大小为源大小 this.img.color = "#0000FF";//设置颜色为蓝色 } } 二、通过代码创建Image组件 有时,不想让图像组件一开始就在舞台上,而是在要用的时候才添加,这就要通过代码来创建了。在Scene2D的属性设置面...

来源: Laya3.0_文档 发布时间: 20251010

137. 3d项目安卓包。部分手机报加载3d资源报错 [ 53%]

...akeCurrent:792 error 3003 (EGL_BAD_ALLOC) 08-20 16:53:49.060 309-376/? E/BufferQueueProducer: [SurfaceView] connect(P): already connected (cur=1 req=1) 08-20 16:53:49.060 24823-24871/? E/libEGL: eglCreateWindowSurface: native_window_api_connect (win=0x559096cbb0) failed (0xffffffea) (already connect...

来源: Laya_社区 发布时间: 20180820

138. laya1.0 的3D项目,GPU型号为Adreno 405的加载3D资源时会报错 [ 53%]

...akeCurrent:792 error 3003 (EGL_BAD_ALLOC) 08-20 16:53:49.060 309-376/? E/BufferQueueProducer: [SurfaceView] connect(P): already connected (cur=1 req=1) 08-20 16:53:49.060 24823-24871/? E/libEGL: eglCreateWindowSurface: native_window_api_connect (win=0x559096cbb0) failed (0xffffffea) (already connect...

来源: Laya_社区 发布时间: 20181213

139. 怎么像canvas那样做到每次循环去清空一次画布,我发现每次画的时候他会把上一次的坐标也画出来,导致变形了,该如何让他每次累加的同时清空上次的路径 [ 52%]

...raphics.clear(); sp.graphics.drawCurves(10, 58, [x, 0, 19, -100, 39, 0], "#ff0000", 3); } } new Scene(); 附件 : --> 2019-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: sp.graphics....

来源: Laya_社区 发布时间: 20190520

140. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 51%]

....text = "Hello Layabox"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的...

来源: Laya_社区 发布时间: 20180715