大约有 311 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0049 秒)
..."child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp...
来源: Laya_社区 发布时间: 20170330
..."child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp...
来源: Laya_社区 发布时间: 20170330
...批量绘制同样纹理。 是把 x X 轴偏移量。 y Y 轴偏移量。 width 宽度。 height 高度。 m 矩阵信息。 把这几个参数组成一个json对象,然后再把多个json组成数组传入吗? 像这样吗drawTextures(texture, [{x:0, y:0, width:128, height:64}, {x:128, y:0, wi...
来源: Laya_社区 发布时间: 20170405
...oding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="144" height="590" mouseEnabled="true"> <mx:Canvas width="144" height="590" x="0" y="0" horizontalScrollPolicy="off" verticalScrollPolicy="off"> &l...
来源: Laya_社区 发布时间: 20180202
...l.getBounds(); // 设置位置 this.pos(42,399); this.tower.pos((boundBall.width - boundTower.width)/2+data.tower[towerLel].c1, -data.tower[towerLel].h+data.tower[towerLel].c2); this.aeroboat.pos((boundBall.width - boundTower.width)/2+data.tower[towerLel].c1 - 2*boundAeroboat.width/3 ,-data.tower[to...
来源: Laya_社区 发布时间: 20170720
能改变动画下getGraphicBounds 的属性吗 x y width height 2017-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 这个是只读的方法,不能改变,你可以看下对应...
来源: Laya_社区 发布时间: 20170629
...eView(loadingjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[{"type":"Image","props":{"y":0,"x":0,"width":192,"skin":...
来源: Laya_社区 发布时间: 20170725
...exture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5); } 附件 : --> 2...
来源: Laya_社区 发布时间: 20210911
...UI模式下Dialog标签嵌套RadioGroup会导致编辑器卡死 <Dialog width="725" sceneColor="#000000" height="500" editorInfo="compId=1"> <Image y="46" x="0" width="687" skin="setting/gd2_n.png" sizeGrid="30,30,30,30" height="402" editorInfo="compId=4"> <Image y="0" x="241.5" skin=...
来源: Laya_社区 发布时间: 20170221
...area.w; this._doll_area.h = doll_area.h; } // 设置容器的宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w ); this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h; this.graphics.drawRect( 0, 0, this.width, this.height, null, "#ff00...
来源: Laya_社区 发布时间: 20180515