大约有 1,745 项符合查询结果, 库内数据总量为 30,972 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1130) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(40)
...ild(miniMap1); } } miniMap.src=url; function circle_image(img, oldImgWidth, oldImgHeight) { var width, height, canvas, contex, circle; if (img.width > img.height) { width = img.height; height = img.height; } else { width = img.width; height = img.width; } canvas = document.createElement('ca...
来源: Laya_社区 发布时间: 20181125
UI - Tab问题: 设置item的width,height UI - Tab问题: 请问在IDE上面我将tab control的width,height都设大了,里面的ITEM为什么没有跟着相应的变大啊? 难道里面item的width,height和skin image的width,height有关? 2018-03-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180319
HTMLDivElement <img>标签width、height在手机端无效 请问一下 我用HTMLDivElement,设置"<img src='"+iconImg+"' width='45' height='45'></img>"标签设置图片的width、height,在编辑器或网页上显示正常,但是打包android apk后安装游戏,就显...
来源: Laya_社区 发布时间: 20190112
...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
... 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectan...
来源: Laya2.0_api 发布时间: 20190513
... // androidplat,创建二维码 createQrCode(url:string, width:number, height:number):string { return this._bridge.call("createQrCode", url, width, height); } // 以下android代码 // JSBridge.javapublic static String createQrCode(final String c...
来源: Laya_社区 发布时间: 20200729
...s = []; var wrapBounds; var maggotTexture; (function() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.height + padding * 2); Laya.loader.load(texturePath, Handle...
来源: Laya_示例 发布时间: 20250418
求解clip的切片得到的单个width为0 一张550×65的图片,用clip切了11分,但是得到的width为什么是 0,正确的应该是55吧= =,但是得到的确是0。 代码如下: this.k = new Laya.Clip("nbdz/gameover/Clip_win.png",11, 1); this.singleNumberW = this.k.width; this.k...
来源: Laya_社区 发布时间: 20170804
..."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
页面中的width问题 页面中节点的width和height上都是Auto,脚本中获取就是0,这是为什么啊,有什么方法能获取到真正的宽和高吗??? 2019-12-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20191222