大约有 395 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)
Laya_社区(141) Laya3.0_api(63) Laya2.0_api(59) laya_api(50) Laya2.0_文档(44) Laya3.0_文档(36) Laya_示例(2)
...ISIBLE _passwordChar drawtocanvCtx isAppUseNewInput langPacks Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize ...
来源: Laya3.0_api 发布时间: 20231115
...表位置 list.x = (Laya.stage.width - Item.WID) / 2; list.y = (Laya.stage.height - Item.HEI * list.repeatY) / 2; // 使用但隐藏垂直滚动条 list.vScrollBarSkin = ""; //滚动在头或底回弹时间 list.scrollBar.elasticBackTime = 500; //滚动在头或底最大距离 list.scrollBar.elastic...
来源: Laya2.0_文档 发布时间: 20210715
... m_Role.pos((Laya.stage.width - 27)/2,(Laya.stage.height - 75)/2); } else{ m_Role.pos((Laya.stage.width - 14)/2 + 15,(Laya.stage.height - 75)/2); } m_mapLayer.pos(...
来源: Laya_社区 发布时间: 20170921
...on: absolute; margin:5px; width: 300px; height: 200px; overflow:auto; font-size:20px; line-height:38px; font-family:"微软雅黑"; color:#000; text-align:justify; text-justify:inter-ideograph; -webkit-text...
来源: Laya_社区 发布时间: 20180103
.... //输入了一大堆聊天记录后,内容超过了329px,虽然限高height:329px;并加入了overflow-y:scroll;,但没有出现滚动条而且还漏了。 var str = "<div style='position:absolute;width:495px;height:329px;overflow-y:scroll;border-width:1px;border-color:Red;border-style:so...
来源: Laya_社区 发布时间: 20210121
... //设置大小 canvas.width = Laya.stage.width; canvas.height = Laya.stage.height; var ctx = canvas.getContext('2d'); Laya.stage.graphics.clear(false); var textture = new Laya.Texture(canvas); textture.bitmap.alwaysChange = true;//小游戏使用...
来源: Laya_社区 发布时间: 20180905
...始化了啊 在main里 Laya.init(GameConfig.STAGE_WIDTH, GameConfig.STAGE_HEIGHT, Laya.WebGL);
来源: Laya_社区 发布时间: 20171215
LayaAir引擎 位图字体垂直居中的bug 位图字体的txtWidth,textHeight属性的值计算不正确;导致设置垂直方向对齐时,显示不正确。 如下图中所示: 绿色框显示的是文本组件的宽高(width,height) 黄色框显示的文本的实际宽高(textWidth,textHe...
来源: Laya_社区 发布时间: 20201128
...色控制器1、碰撞形状相关1.1 胶囊半径 radius1.2 胶囊高度 height1.3 碰撞形状编辑工具1.4 胶囊偏移 centerOffset2、碰撞分组设置2.1 所属碰撞组 collisionGroup2.2 可碰撞组 canCollideWith3、IDE面板的专有属性3.1 重力 gravity3.2 推动力 pushForce3.3 最...
来源: Laya3.0_文档 发布时间: 20251010
...(txt); txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height-txt.textHeight) / 2; zkang5 • 2022-07-11 09:49 好的,谢谢
来源: Laya_社区 发布时间: 20220708