大约有 387 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(175) Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya2.0_文档(31) Laya3.0_文档(8) Laya2.0_示例(1) Laya_示例(1)
怎么对graphics画出来的图片进行鼠标点击拖动??? 我把示例的内容进行了修改,我不想加载个图片然后移动图片,我只是想画个圆圈然后鼠标可以拖动它移动!!!!但是我改了一下官网上的例子,还是无法移动。。。。。...
来源: Laya_社区 发布时间: 20171106
...接 提交 1 个回复 Laya_XS 赞同来自: sprite的示例,然后调用graphics去画个颜色,sprite不能直接设置颜色值 2018-04-10 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jcd404552157 相关问题 求问shader中的...
来源: Laya_社区 发布时间: 20180410
...求。 修改2.0版本 laya.html.js库里的代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color; if (cssStyle.str...
来源: Laya_社区 发布时间: 20190611
...tton或Sprite等对象,以实现图标复制的效果。但使用 sprite.graphics.drawTexture(btn.source ... ) 的方式没成功,请指教! 2017-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixu...
来源: Laya_社区 发布时间: 20170522
... 要回复问题请先登录 发起人 130*****113 相关问题 用sprite.graphics绘制一个矩形 这个矩形对象不能获得鼠标事件的么? 在Laya设计器里, 怎么添加圆角矩形? 斜矩形怎么计算碰撞 跪求登陆注册数据交互的demo或者格式啊!!或者其...
来源: Laya_社区 发布时间: 20180424
...ite { private var testPan:Sprite; public function MainUi() { super(); this.graphics.drawRect(0,0,500,500,"#fff0cc"); testPan = new Sprite(); testPan.name = "testPan"; this.addChild( testPan ); testPan.pos( 300,300); testPan.graphics.drawRect(0,0,90,100,"#faaff0"); testPan.on(Event.CLICK,this,onMouse...
来源: Laya_社区 发布时间: 20161124
...代码造成。 __proto.createOneLine=function(startWord,lastWords,hasLine,graphic,recList){ var lineY=lastWords.y+lastWords.height; if(hasLine) graphic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hitRec.rec.setTo(startWord.x,lastWords...
来源: Laya_社区 发布时间: 20190801
...留白部分的颜色问题 如何设置Sprite的宽高和点击区域? graphics alpha 问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Laya3D里的material可以设置flat shading么 关于同为object层,层级设置无效的...
来源: Laya_社区 发布时间: 20230227
...算了,偏复杂。 另一个是sprite.mouseThrough = true;加上sprite.graphics.drawRect。但是遇到个问题是sprite.graphics多了好像我的小米2s会掉帧(十几个150*100的矩形就掉到55以下)。 那么问题来了,有什么简单的确实可行的方案能让负坐标能...
来源: Laya_社区 发布时间: 20170105
...绿色,我想换成其他颜色,如何操作? ios原生回调问题 graphics alpha 问题 问题状态 最新活动: 2019-08-07 17:30 浏览: 2904 关注: 2 人 未来 • 2019-11-28 15:10 请问这个问题怎么解决的呢 Kingchan • 2019-08-07 14:07 demo已上传,麻烦帮忙看一下...
来源: Laya_社区 发布时间: 20190806