大约有 107 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0034 秒)
Laya_社区(79) Laya2.0_文档(11) Laya3.0_文档(4) Laya_示例(3) Laya3.0_api(3) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
...seX = ape.mouseX; } }else{ mouseX = ape.mouseX; } interactionArea.graphics.drawCircle(ape.mouseX, ape.mouseY, 20, "#000000"); } 效果如下 附件 : --> 2017-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20170615
... 0, 0, 80, 80) that.addChild(sp) var cMask = new Sprite() cMask.graphics.drawCircle(40, 40, 37, "#ff0000") sp.mask = cMask //sp.addChild(cMask) //sp.removeChild(cMask) sp.pos(7,14) console.log(cMask.x, cMask.y) }, null, "image")) 一个圆形的遮罩显示微信头像.. 2018-07-10 添加评论...
来源: Laya_社区 发布时间: 20180710
...子里放圆圈怎么弄? cyqcyqcyq • 2017-12-30 15:42 再用graphics.drawCircle(0, 0, 5, "#000000")即可 cyqcyqcyq • 2017-12-30 16:25 @gaowei2024:676748318 casd12222003d • 2017-12-30 22:35 @gaowei2024:用程序去画图,这个我只在TC的时候干过,现在都是用图片...
来源: Laya_社区 发布时间: 20171230
...以查看到API的各种矢量绘图方法。 drawRect fillText drawPath drawCircle drawPie drawLine drawLines drawPoly drawCurves ...... 下面将对这些Graphics进行讲解。 二、绘制矩形与圆角矩形 2.1 IDE绘制矩形 在Sprite对象的 Graphics 组件中,可以通过点击 + 来...
来源: Laya3.0_文档 发布时间: 20251010
...示。 Graphics destroy():void[override] 销毁此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制...
来源: laya_api 发布时间: 20170929
...示。 Graphics destroy():void[override] 销毁此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):Draw...
来源: Laya2.0_api 发布时间: 20190513
...e; this.bg = new Laya.Sprite(); this.bg.graphics.drawCircle(210, 210, 210, "#FFFFFF", 3); this.bg.alpha = 0.7; owner.addChild(this.bg); this.knob = new Laya.Sprite(); this.knob.graphics.drawCircle(0, 0, 105, "#FF5722"); ...
来源: Laya_社区 发布时间: 20251125
...有这个函数啊。。。。 176*****233 • 2018-06-28 14:57 graphics.drawCircle@金巍巍: 金巍巍 • 2018-06-28 14:59 不是画圆圈,是圆形区域。
来源: Laya_社区 发布时间: 20180628
...n事件绑定Mousemove事件,在mousemove监听方法中this.sp.graphics.drawCircle(Laya.stage.mouseX, Laya.stage.mouseY, 10, "#ffffff"); mouseUp移除监听,如果鼠标移动慢还好,稍微快一点就会出现断点的情况,有什么好的实现方案? 附件 : --> 2017-09-01 添加...
来源: Laya_社区 发布时间: 20170901
...le最为遮罩给图片就可以了 var sp:Sprite=new Sprite() sp.graphics.drawCircle(0,0,50,"#FF0000") img.mask=sp; 2017-01-07 7 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ytd7777 相关问题 微信关系链:LayaAir引擎针对微...
来源: Laya_社区 发布时间: 20170107