大约有 698 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0146 秒)
Laya_社区(336) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(44) Laya2.0_示例(19) Laya_示例(15)
...-01 14:06 ```javascript var xml = '<Box y="0" x="0" width="746" name="fill_item" height="44" editorInfo="compId=11">' + '<Label width="746" name="bg" height="44" bgColor="#e5ba8a" editorInfo=...
来源: Laya_社区 发布时间: 20161201
...的问题,在安卓、韩文字体的情况下,这个方法返回的t.width的值一直为0,导致在计算韩文的文本渲染宽度时,韩文字符的宽度一直为0,因此所有的韩文就都叠在一起了,解决方法是在laya.webgl.js文件中的WebGLCharImage的构造函数中...
来源: Laya_社区 发布时间: 20210206
...atlas/comp/image.png"); //纹理:图片路径 this.sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置:屏幕中心 this.sprite.x = Laya.stage.width/2; //x、y分别设置位置 this.sprite.y = Laya.stage.height/2; this.sprite.size(512, 313); //大小 this.sprite.widt...
来源: Laya3.0_文档 发布时间: 20251010
...Prior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...
来源: Laya3.0_api 发布时间: 20231115
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...aniPath = "res/bone/spineboy-pma.skel"; this.index = -1; Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.startFun(); } startFun() { this.templet = new SpineTemplet(Laya.SpineVersion.v3_8); this.templet.loa...
来源: Laya2.0_示例 发布时间: 20260303
....valign = "middle"; // div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;">...
来源: Laya_社区 发布时间: 20170911
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...
来源: laya_api 发布时间: 20170929