大约有 640 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0037 秒)
Laya_社区(324) Laya2.0_示例(114) Laya_示例(88) Laya2.0_文档(50) Laya3.0_文档(19) laya_api(18) Laya2.0_api(16) Laya3.0_api(11)
...e(); this.label_image.graphics.fillText(xxx, xxx,"15px Arial","#000000","center"); this.label_image.pos(0,0) Laya.stage.addChild(this.label_image); 这样写为什么CurMem会增加接近16M,这不就是在精灵上绘制嘛,简单来说就是一个精灵,用不了这么多吧 2018-04-25 ...
来源: Laya_社区 发布时间: 20180425
...he App Store Review Guidelines, please reply to this message in Resolution Center to explain how this feature works. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. 2019-07-30 添加评论 免...
来源: Laya_社区 发布时间: 20190730
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; this.createSingleInput(); this.createMultiInput(); } private createSingleInput(): void { var inputText: Input = new Input(); inputText.size(350, 100); ...
来源: Laya2.0_文档 发布时间: 20210715
...a.Stage.ALIGN_MIDDLE; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; 2018-02-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 matthew_liu 相关问题 请问LayaAir中如何使图片以圆形的方式显示? Layaair I...
来源: Laya_社区 发布时间: 20180213
... Laya.stage.screenMode = "none"; Laya.stage.alignH="center"; Laya.stage.alignV="middle"; 我不知道scaleMode该设置成fixedwidth还是fixedheight,如果设置成fixedwidth的话,会放大了,显示不全, 现在改成fixedheight,可以显示...
来源: Laya_社区 发布时间: 20190429
...age.alignV = Laya.stage.ALIGN_MIDDLE; Laya.stage.alignH = Laya.stage.ALIGN_CENTER; //纠正宽度 function AdaptiveScrene() { var width = Math.max(Laya.Browser.clientWidth,Laya.Browser.clientHeight); var height = Math.min(Laya.Browser.clientHeight,Laya.Browser.clientWidth); va...
来源: Laya_社区 发布时间: 20200423
...L); Laya.stage.scaleMode = 'showall'; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.bgColor = "none"; Laya.stage.frameRate = "slow"; 用同样的配置在范例实作却可以 请问还有什麽因素会影响到萤幕适配呢 2017-10-23 添加...
来源: Laya_社区 发布时间: 20171023
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect() { const Sprite = Laya.Sprite; this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -1...
来源: Laya2.0_示例 发布时间: 20251209
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect() { const Sprite = Laya.Sprite; this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -10...
来源: Laya2.0_示例 发布时间: 20251209
...eMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.bgColor = "#ffffff";我暂时就是上面这么干的 让高度多一些满足iphoneX 这样点击区域就没 问题了,而且用fiexed宽度来做适配 也...
来源: Laya_社区 发布时间: 20180718