大约有 854 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(461) Laya3.0_api(77) laya_api(70) Laya2.0_api(64) Laya3.0_文档(56) Laya2.0_文档(50) Laya2.0_示例(39) Laya_示例(37)
...rs constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX cente...
来源: Laya3.0_api 发布时间: 20231115
...; //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); //this.text = new Laya.Label(); this.addChild(this.img); //this.addChild(this.text); } public setImg(src: string): void { ...
来源: Laya_社区 发布时间: 20180507
... set to " + Laya.stage.scaleMode); console.log("Laya.stage size = " + Laya.stage.width + " x " + Laya.stage.height + ", design = " + Laya.stage.designWidth + " x " + Laya.stage.designHeight); 但不知道这个bug规律在什么地方 莫名其妙去掉一...
来源: Laya_社区 发布时间: 20190319
...le 的函数原型:function(readyUrl,md5Name,isAdd,encoding,callBack,fileSize) */ MiniFileMgr.onSaveFile(readyUrl,tempFileName,true,encoding,callBack,data.size); }, fail:function (data) { callBack !=null && callBack.runWith([1,data]); } } );同时在MiniLoader.load中,又将url当作文...
来源: Laya_社区 发布时间: 20180604
...awRect drawTarget drawTargetBlurFilter drawText drawTexture drawTextureWithSizeGrid drawTextureWithTransform drawTriangles fillBorderText fillBorderWords fillRect fillText fillWords fillWords11 filltext11 flush getAlignLength popRT pushRT restore restoreTransform save saveTransform scale setColorFil...
来源: Laya3.0_api 发布时间: 20231102
...laya_project/test_01//bin/js/bundle.js Build success. Done(0) 怎么回事 sizee • 2019-08-19 14:18 我也遇到 quick Compile 有没有什么解决办法
来源: Laya_社区 发布时间: 20181012
... file not found 微信游戏多次加载出现:copyFile:fail the maximum size of the file storage limit is exceeded 问题状态 最新活动: 2018-07-15 19:21 浏览: 1538 关注: 5 人 海货 • 2018-07-15 16:58 你意思是环境问题? 海货 • 2018-07-15 17:01 我的环境是上午刚搭...
来源: Laya_社区 发布时间: 20180715
...//绘制纹理 img.graphics.drawTexture(texture); //设置纹理宽高 img.size(texture.width, texture.height); } } } ``` 代码运行效果如图7-2所示。  (动图7-2)
来源: Laya2.0_文档 发布时间: 20210715
...tn.label = "切换RenderTexture"; btn.labelBold = true; btn.labelSize = 20; btn.sizeGrid = "4,4,4,4"; btn.size(200, 30); btn.scale(Browser.pixelRatio, Browser.pixelRatio); btn.pos(Laya.stage.width / 2 - btn.width * Browser.pixelRatio / 2, Laya.stage.height - 50 * Browser.pixelRat...
来源: Laya_社区 发布时间: 20170209
...; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya.List; var Ha...
来源: Laya2.0_文档 发布时间: 20210714