大约有 557 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(201) Laya_社区(191) Laya2.0_api(62) laya_api(51) Laya3.0_文档(22) Laya2.0_文档(18) Laya_示例(7) Laya2.0_示例(5)
...itorInfo="compId=25"/> </Image> <Image y="338" x="57" var="headLeft" skin="setting/server_run_left_1.png" editorInfo="compId=29"/> <Image y="338" x="604" var="headRight" skin="setting/server_run_right.png" editorInfo="compId=27"/> </Dialog> Dialog作为最层 元素 201...
来源: Laya_社区 发布时间: 20170221
...,比如"#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: st...
来源: Laya3.0_api 发布时间: 20231115
...宽高都设置为1334*750,然后设置给UI页面设置相对布局(left,right,top,bottom),最后在代码中设置适配模式SCALE_FIXED_WIDTH !
来源: Laya_社区 发布时间: 20180313
...放模式和对齐方式 stage.align = StageAlign.TOP_LEFT; //setWindowFullSize(); IFlash.setOrientationEx(1); //是否为横屏模式,默认横屏 @param value 0 竖屏 1 横屏 IFlash.setBgcolor("#ffffff"); //背...
来源: Laya_社区 发布时间: 20170317
...ont; var padding = this.padding; var startX = padding[3]; var textAlgin = "left"; var lineHeight = this.leading + this._charSize.height; var tCurrBitmapFont = this._currBitmapFont; if (tCurrBitmapFont) { lineHeight = this.leading + tCurrBitmapFont.getMaxHeight(); }; var startY = padding[0]; if (this...
来源: Laya_社区 发布时间: 20180417
...ture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRatio, top*pixelRatio, width*pixelRatio,height*pixelRatio); 这样在安卓上跑好卡啊 2018-05-07 0 0 分享 微博 QZONE 微信 yung 赞同来自: 关于开放域,微信将来回提供新方法,在此...
来源: Laya_社区 发布时间: 20180426
...Mode = "none"; GameConfig.alignV = "top"; GameConfig.alignH = "left"; GameConfig.startScene = "main.scene"; GameConfig.sceneRoot = ""; GameConfig.debug = false; GameConfig.stat = false; GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = tr...
来源: Laya_社区 发布时间: 20201110
...交 1 个回复 cuixueying 赞同来自: Render._mainCanvas.source.style.left = "300px"; Render._mainCanvas.source.style.top = "300px"; 你不要手动去该layaAir canvas标签的属性,在代码里通过上面的代码调试canvas的位置试下! 2017-04-27 0 1 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20170427
...素的水平对齐,共有四个选项。none:不进行水平对齐,left:居左水平对齐,center:居中水平对齐,right:居右水平对齐,默认为none。 跳过隐藏节点 skipHidden 默认为false,勾选后排列时自动跳过隐藏的节点。 自动宽高模式 autoSize...
来源: Laya3.0_文档 发布时间: 20251010
...素的垂直对齐,共有四个选项。none:不进行垂直对齐,left:居顶垂直对齐,center:居中垂直对齐,right:居底垂直对齐,默认为none。 跳过隐藏节点 skipHidden 默认为false,勾选后排列时自动跳过隐藏的节点。 自动宽高模式 autoSize...
来源: Laya3.0_文档 发布时间: 20251010