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

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

1. 如何绘制圆角矩形? [ 100%]

...aphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"]], {fillStyle: "#FFFFFF"}); 画圆角矩形要...

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

2. graphics透明度设置详细步骤 [ 99%]

...is.graphics.save(); this.graphics.alpha(0.5); this.graphics.drawRect(-40, -110, 80, 110, "#ffcc00"); this.graphics.restore(); //再画一个红色小半透明区域 this.graphics.save(); this.graphics.alpha(0.7); this.graphics.drawRect(40, -110, 80, 110, "#ff0000"); this.graphics.restore();4个步...

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

3. 在Laya设计器里, 怎么添加圆角矩形? [ 99%]

...aphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"]], {fillStyle: "#FFFFFF"}); Laya.stage.addChild(...

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

4. 路径问题在哪呢?这个路径可是官方的实例哦。 [ 98%]

...raphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0],["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"]], {fillStyle: "#00ffff"},{"strokeStyle":"#fffff...

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

5. graphics下没有lineTo,怎么实现实时绘图效果? [ 98%]

...aphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"]], {fillStyle: "#00ffff"}); 这是官方提供...

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

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

...uot;moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], [...

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

7. WebGl下 graphics画出东西后 移动sprite 不起效果 [ 93%]

..., 5, 0],             ["lineTo", 105, 0],             ["arcTo", 110, 0, 110, 5, 5],             ["lineTo", 110, 55],             ["arcTo", 110, 60, 105, 60, 5],             ["lineTo", 5, 60],             ["arcTo", 0, 60, 0, 55, 5],             ["lineTo", 0, 5...

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

8. laya有没有类似Egret Inspector的外部插件? [ 93%]

...到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 hhh110 赞同来自: 调用DebugTool的时候会报这个错误 2018-04-17 0 0 分享 微博 QZONE 微信 hhh110 赞同来自: 我把这段注释掉就可以了 2018-04-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

9. laya微信打包问题很多呀,就是加了一些绘图api,就报错 [ 91%]

...aphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"]], {fillStyle: "#00ffff"}); } } } new laya.Sprit...

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

10. 在webgl适配方式为showall下图形绘制问题 [ 90%]

...uot;moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], [...

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