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

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

31. laya绘制图形进行缩放的时候有问题 [ 64%]

...11 15:44 public static SymbolRoot(sp: Laya.Sprite, cfg: any) { sp.graphics.drawCircle(0, 0, 20, "#ffffff", "#000000", 3); sp.graphics.drawLine(-20, -20, 20, 20, "#000000", 3); } public static SymbolSeq(sp: Laya.Sprite, cfg: any) { sp.graphics.drawLine(-20, 0, 20, 0, &qu...

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

32. laya.ani.GraphicsAni_API3.0 [ 63%]

...ors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save sc...

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

33. 输入设备-指南针 [ 63%]

...ionIndicator); directionIndicator.alpha = 0.8; directionIndicator.graphics.drawCircle(0, 0, 70, "#343434"); directionIndicator.graphics.drawLine(-40, 0, 40, 0, "#FFFFFF", 3); directionIndicator.graphics.drawLine(0, -40, 0, 40, "#FFFFFF", 3); directionIndicator.x = compassImg.x; directionIndicator.y ...

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

34. 新手引导在ios浏览器表现异常 [ 62%]

...rea = this.guideHitArea;             this.guideHitArea.unHit.drawCircle(posX, posY, radius, "#000000");             interactionArea.graphics.drawCircle(posX, posY, radius, "#000000");             let maskButton = new Laya.Button();           ...

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

35. 输入设备-指南针 [ 62%]

...ionIndicator); directionIndicator.alpha = 0.8; directionIndicator.graphics.drawCircle(0, 0, 70, "#343434"); directionIndicator.graphics.drawLine(-40, 0, 40, 0, "#FFFFFF", 3); directionIndicator.graphics.drawLine(0, -40, 0, 40, "#FFFFFF", 3); directionIndicator.x = compassImg.x; directionIndicator.y ...

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

36. 反向遮罩的问题 [ 62%]

反向遮罩的问题 我用drawCircle这种方式做了个遮罩图,但无论怎么设颜色,都是中间一个圆里头能看到东西。 我想要反过来啊,圆里头看不到,圆外头正常显示,应该怎么弄啊? 2018-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

37. laya.display.cmd.DrawCircleCmd [ 62%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames DrawCircleCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class DrawCircleCmdInheritanceDrawCircleCmd Object 绘制圆形 Public Properties PropertyDefined By  fillColor : * 填充颜色,或者...

来源: Laya2.0_api 发布时间: 20190513

38. Graphics 怎么画 环形 [ 61%]

...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

39. 这个圆形遮罩问题怎么解决 [ 61%]

...); this.addChild(sp);         this.img = new Sprite(); sp.graphics.drawCircle(0,0,50,"transparent");         this.addChild(this.img); this.img.mark = sp;   我看被人也都是这样写的不知道为什么我的达不到效果 2018-03-15 添加评论 免费帖 --> 分享 微博 QZ...

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

40. laya中怎么实现拓印 [ 61%]

laya中怎么实现拓印 画笔可以添加纹理吗?用 graphics.drawCircle(this.zz.mouseX,this.zz.mouseY, this.radius, "#00ffff");这种方法,画出来的只能是纯色或者渐变色,怎么设置纹理或者透明度? 附件 : --> 2020-02-14 添加评论 已悬赏50元 --> 分享 微...

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