大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
... this.sprite.on('mousedown', this, on_down); this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2); this.sprite.graphics.drawCircle(x, y, r1, color1, color1, 0); function on_down(event) { console.log("_____ kbRing2\n"); } } function laya_test() { ...
来源: Laya_社区 发布时间: 20161221
...17-11-09 0 0 分享 微博 QZONE 微信 gggg1010 赞同来自: sp.graphics.drawCircle(x, y, radius, null, "#FF0000", 5) 2019-07-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 rt1223103 相关问题 有没有环形倒计时的demo 可...
来源: Laya_社区 发布时间: 20171108
...400, 166, [0, 100, 50, 0, 100, 100], "#ffff00"); //画圆 this.sp.graphics.drawCircle(98, 332, 50, "#00ffff"); //画扇形 this.sp.graphics.drawPie(240, 290, 100, 10, 60, "#00ffff"); //绘制圆角矩形,自定义路径 this.sp.graphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["a...
来源: Laya_社区 发布时间: 20180115
...子里放圆圈怎么弄? 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
...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
...括我(!嘻嘻) var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("tou...
来源: Laya_社区 发布时间: 20161109