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

大约有 1,739 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

1. Graphics 怎么画 环形 [ 100%]

Graphics 怎么画 环形 在 Laya 中 Graphics 的绘制屏蔽了 endFill  还怎么画 环形了 2017-11-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: 看下这个...

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

2. 自定义的九宫格graphic组件不能放在系统graphic组件底层。 [ 99%]

自定义的九宫格graphic组件不能放在系统graphic组件底层。 为了减少sprite数,写了一个自定义的九宫格graphic组件,但是和系统的graphic组件叠加时,总是在系统graphic组件上方,请问有什么方法可以使自定义的graphic组件也能和系统...

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

3. graphics怎么画透明色 [ 99%]

graphics怎么画透明色 graphics怎么画透明色 2018-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 aicode 赞同来自: let graphics=new Laya.Graphics(); graphics.clear(); graphics.save(); graphics.a...

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

4. LayaAir引擎与原生Flash的差异文档说明! [ 99%]

...使用; flash环境下: 1、静态遮罩 var sp:Sprite=new Sprite(); sp.graphics.beginFill(0xFFFF00); sp.graphics.drawRect(0,0,200,200); sp.graphics.endFill(); addChild(sp); var mask:Sprite=new Sprite(); mask.graphics.beginFill(0xFF0000); mask.graphics.drawCircle(0,0,50); mask.graphics.endFill(); ...

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

5. laya.ani.GraphicsAni_API3.0 [ 99%]

...lic/Protected All Inherited Externals Only exported Menu Globals "laya/ani/GraphicsAni" GraphicsAni Class GraphicsAni Graphic动画 Hierarchy Graphics GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage dra...

来源: Laya3.0_api 发布时间: 20231115

6. Graphics实现透明度显示 [ 99%]

Graphics实现透明度显示 2016-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: var sp:Sprite=new Sprite(); var graphics:Graphics=new Graphics(); graphics.save(); graphics.alpha(0...

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

7. layaFlash关于Graphics绘图 [ 99%]

layaFlash关于Graphics绘图 如图 附件 : --> 2017-01-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 建议使用layaAir引擎进行游戏开发吧,目前layaFlash引擎已经停...

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

8. Sprite-绘制各种形状 [ 99%]

... drawSomething() { sp = new Sprite(); Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000", 3); //画连续直线 sp.graphics.drawLines(176, 58, [0, 0, 39, -50, 78, 0, 117, 50, 156, 0], "#ff0000", 5); //画曲线 sp.graphics.drawCurves(352, 58, [0, 0, 19, -100, 39, 0, 58...

来源: Laya_示例 发布时间: 20240930

9. Sprite-绘制各种形状 [ 99%]

...thing() { let sp = new Laya.Sprite(); Laya.stage.addChild(sp); //画线 sp.graphics.drawLine(10, 58, 146, 58, "#ff0000", 3); //画连续直线 sp.graphics.drawLines(176, 58, [0, 0, 39, -50, 78, 0, 117, 50, 156, 0], "#ff0000", 5); //画曲线 sp.graphics.drawCurves(352, 58, [0, 0, 19, -100, 39, 0, 58...

来源: Laya2.0_示例 发布时间: 20240930

10. graphics 问题 [ 99%]

graphics 问题 安装论坛里面的alpha的设置,下面代码不起作用 img.graphics.save() img.graphics.transform(m) img.graphics.restore() 如果只留下第二行,那么transform效果将影响其他对象 2017-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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