大约有 592 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0046 秒)
Laya_社区(424) Laya3.0_api(61) Laya2.0_示例(32) Laya_示例(31) Laya2.0_文档(30) Laya3.0_文档(11) laya_api(2) Laya2.0_api(1)
...一个渐变矩形? 请问LayaAir如何绘制一个渐变矩形? this.graphics.drawRect(0, 0, 500, 350, "#ffffff") drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,或者填充绘图的渐...
来源: Laya_社区 发布时间: 20170420
... 网页跳转函数 微信开放域排行榜滑动list滑动没反应 用graphics画的圆点,点击圆点获取数据,为何反应这么慢,附上demo求解答 问题状态 最新活动: 2016-12-27 18:13 浏览: 2507 关注: 3 人 cuixueying • 2017-02-03 16:02 如果想当前页面跳转,...
来源: Laya_社区 发布时间: 20161227
...apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.Browser.window.co...
来源: Laya_社区 发布时间: 20200309
...rite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable des...
来源: Laya3.0_api 发布时间: 20231115
... Laya.stage.addChild(sprite); sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); // openDataContext.postMessage({ ...
来源: Laya_社区 发布时间: 20180529
...Texture(); let imgSp = new Sprite(); Laya.stage.addChild(this.imgSp) imgSp.graphics.drawTexture(t)) 2020-06-17 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 无 相关问题 关于微信小游戏关系链的问...
来源: Laya_社区 发布时间: 20200617
...ge.ALIGN_MIDDLE; var sp; for(var i=0;i<5;i++){ sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,50,50,"red"); sp.y = i*60; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function (e) { alert(e.target.index); },[{target:sp}]) Laya.stage.addChild(sp); } 2017-02-21 1 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170221
...mousedown事件绑定Mousemove事件,在mousemove监听方法中this.sp.graphics.drawCircle(Laya.stage.mouseX, Laya.stage.mouseY, 10, "#ffffff"); mouseUp移除监听,如果鼠标移动慢还好,稍微快一点就会出现断点的情况,有什么好的实现方案? 附件 : --> 2017-09-01 ...
来源: Laya_社区 发布时间: 20170901
...时间会极低概率出现这个报错 我搜遍引擎代码,就只有Graphics的构造函数里面会有这个 _this_._nativeObj=new (window as Object)._conchGraphics(); 貌似没有new成功,麻烦帮忙看看什么情况会导致new失败呢 LayaAir版本:1.7.14beta LayaNative版本:0...
来源: Laya_社区 发布时间: 20180131
...移动 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, 按钮坐标问题导致无法点击 相对屏幕坐标 问题状态 最新活动: 2018-12-20 10:43 浏览: 1429 关注: 2 人 LT • 2...
来源: Laya_社区 发布时间: 20181219